This worked for me on 1.3.0:

(aset-int (make-array Integer/TYPE 3 4 5) 1 2 3 -1)

Might have something to do with the enhanced primitive support which
causes array handling to be stricter than it was in 1.2? Just a guess.

Allen

On Fri, Dec 31, 2010 at 8:53 AM, Sunil S Nandihalli
<sunil.nandiha...@gmail.com> wrote:
> Hello Everybody,
> why does this give an error in clojure-1.3-alpha4
>   (aset (make-array Integer/TYPE 3 4 5) 1 2 3 -1)
> can anybody tell me as to how to do this right?
> Thanks,
> Sunil.
>
> --
> 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

-- 
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

Reply via email to