Arc Forum
new
|
comments
|
leaders
|
submit
login
2 points
by
heated
3870 days ago |
link
|
parent
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
3870 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
3869 days ago |
link
Whoops. Seems to be my implementation only. (and Racket)
-----
2 points
by
akkartik
3868 days ago |
link
Cool; added.
https://github.com/arclanguage/anarki/commit/e893c94e5d
-----
1 point
by
svetlyak40wt
3868 days ago |
link
That is not fair in this case. Please, write example code in terms of Arc3.1 primitives.
-----
2 points
by
heated
3863 days ago |
link
Ok
-----