3 Oct 2009 13:06
Re: Debugging questions
Timothy Pratley <timothypratley <at> gmail.com>
2009-10-03 11:06:50 GMT
2009-10-03 11:06:50 GMT
Hi Jose,
> ; trying to get the first element of an unordered set
> (nth (clojure.set/select #(= 0 (mod % 2)) #{1 2 5 10}) 0)
> Why do I get different messages running from the REPL or loading from a clj
> file ?
I tried it from REPL and file using the from source Clojure 1.1.0-
alpha-SNAPSHOT,
and for both it gave nth not supported exception, and for the file it
gave the line number.
Sorry I guess it doesn't help you much, but just letting you know :)
RSS Feed