> (aset (make-array Integer/TYPE 3 4 5) 1 2 3 -1) > can anybody tell me as to how to do this right? > > (aset (make-array Long/TYPE 3 4 5) 1 2 3 -1)
I *think* that number by default are long, and the array is of ints. HTH, -- Miki http://clojurewise.blogspot.com/ -- 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