Hi Lee, On 29 April 2010 22:31, Lee Spector <lspec...@hampshire.edu> wrote:
> The error that I get is: > > Caused by: java.lang.IllegalArgumentException: n must be positive > at java.util.Random.nextInt(Random.java:250) > Hopefully this will give you the clue you need: user=> (. thread-local-random-generator (nextInt 10000000000000000000000000000000000)) java.lang.IllegalArgumentException: n must be positive (NO_SOURCE_FILE:0) Note that it is pretty easy to get a bignum as Clojure will automatically upgrade - which I suspect is what is happening in your case. Hope that helps Regards, Tim. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en