Arc Forumnew | comments | leaders | submit | heated's commentslogin

This is pretty amazing.

-----

2 points by heated 3664 days ago | link | parent | on: A FizzBuzz solution in Arc

Hey man I fixed up your code to use case and gcd instead for brevity. I hope you don't mind. :)

-----

1 point by akkartik 3664 days ago | link

Interesting, I wasn't aware of the gcd trick. I had something to learn even in fizzbuzz, who knew?!

But hmm, I don't see gcd defined anywhere in arc3.1 or anarki. Where are you seeing it?

-----

2 points by heated 3663 days ago | link

Whoops. Seems to be my implementation only. (and Racket)

-----

2 points by akkartik 3662 days ago | link

Cool; added. https://github.com/arclanguage/anarki/commit/e893c94e5d

-----

1 point by svetlyak40wt 3662 days ago | link

That is not fair in this case. Please, write example code in terms of Arc3.1 primitives.

-----

2 points by heated 3657 days ago | link

Ok

-----