Hi Mikel... Thanks for your quick reply! I use 1.2.0. aset does not work. It seems that aset is only useable for arrays of Reference types, but I need to use primitive types, so aset-int is the only option. To me it looks that there should be unchecked-xxx versions of the coerce functions (e.g. unchecked-int) for this case?!?
Ciao ...Jochen > It sounds as if you use 1.3-alpha-something. The problem is that aset- > int is a function. So your int gets boxed again to a Long. Just use > aset. It's also a function but is usually inlined, so you pass > primitive directly. > > (aset (make-array Integer/TYPE 1) 0 (int 0x80000000)) > > This should work, although I can't verify at the moment. > > Sincerely > Meikel -- 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