Re: unchecked-int returning long?

2012-01-01 Thread Stuart Sierra
Hi Joel, Since release 1.3.0, Clojure defaults to Long for all integer types. Primitive 32-bit ints are only available as local variables in loops. More information available here: http://dev.clojure.org/display/doc/Documentation+for+1.3+Numerics as well as many mailing list discussions.

unchecked-int returning long?

2011-12-26 Thread Joel Hobson
Hi everyone, I've noticed some unexpected behaviour with the unchecked-int function - I think it's a bug, but I'm not entirely sure I've correctly understood the purpose of the function. (type (unchecked-int 0x)) shows long instead of int. This isn't what I would have expected, either