1ethanhansen / Factorials

Just a bunch of bad factorial computing programs in a bunch of different languages
MIT License
1 stars 2 forks source link

Add Clojure example #35

Closed alexjuda closed 3 years ago

alexjuda commented 3 years ago

24

Can be tested by pasting lines 3-6 to https://clojurescript.io/ and running (bad-factorial 6)

1ethanhansen commented 3 years ago

Just another note if anyone is wanting to try this, you have to switch the input mode on clojurescript.io to "paren." It won't work on indent mode

But appears to work well! I'm merging it in, thanks @alexjuda