Hi all,

I'm fairly new to clojure but I've encountered an inconsistent
behavior. I want to double check before filing a bug

(loop [x (. 1 longValue)] (if (= 0 x) x (recur (- x 1))))
-> java.lang.RuntimeException: java.lang.IllegalArgumentException:
recur arg for primitive local: x must be matching primitive

(loop [x (. 1 longValue)] (if (= 0 x) x (recur (dec x))))
-> 0

-- 
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

Reply via email to