Re:SICP in Clojure
by devasiajoseph on Friday January 17, 2014 @10:37PM
(#7079949)
To auto-promote to BigInt in case of an overflow, use a quote after the star(multiplier) operator. Since HN is not allowing me to use star in this comment here is the link to the gist with a simple factorial example: https://gist.github.com/devasiajoseph/8485836
[ Parent
| on HN ]
Re:SICP in Clojure
by dschiptsov on Friday January 17, 2014 @10:47PM
(#7079979)
Again, the point is precisely in having just one star.