Hi all,
I noticed today (clojure 1.2) that using if-let incorrectly thusly:
(if-let [a 1]
(println "1")
(println "2")
(println "3"))
Instead of e.g.
(if-let [a 1]
(println "1")
(do
(println "2")
(println "3")))
Results in this error
if-let requires a vector for its binding
[Thrown class java.lang.IllegalArgumentException]
When we would expect something like this
Too many arguments to if-let
[Thrown class java.lang.Exception]
Should I raise this in assembla?
Thanks,
David
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en