On Thu, May 26, 2011 at 11:31 PM, Andreas Kostler <andreas.koestler.le...@gmail.com> wrote: > The question is though, why doesn't this work to begin with and why does it > work on 1.3.0-master-SNAPSHOT...? > Is it broken or am I doing something wrong? :)
On further investigation, it looks like Clojure considers the type of (count v) with v a vector to be a primitive int, which is not the typical behavior for a function return value (other than an arithmetic function on primitive arguments) in 1.2. In 1.3.0 it's possible that quot on primitives returns primitives, given the new primitive function argument and return support in 1.3.0, making the problem go away. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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