On Tue, 1 Feb 2011 16:12:11 -0800 (PST) Jules <jules_gosn...@yahoo.com> wrote:
> Clojure 1.2.0 > user=> (type 0) > java.lang.Integer > user=> (type (int 0)) > java.lang.Integer > user=> > > but > > Clojure 1.3.0-alpha4 > user=> (type 0) > java.lang.Long > user=> (type (int 0)) > java.lang.Long > > apologies if this is a known issue ... > > regards > > > Jules > It's part of the optimization effort in 1.3. Native ints are all long and floating points are double (if my memory is reliable, I'm using 1.2 in prod, did not even try 1.3 alpha yet). All the pros and cons are available in the mailing list archive, search for Enhanced primitive support. There's a lengthy thread about it (summer 2010). -- Luc P. ================ The rabid Muppet -- 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