On Fri, Jan 29, 2010 at 8:53 AM, Sean Devlin <francoisdev...@gmail.com> wrote:
> The following doesn't currently work:
>
> user=> (assoc [] 1 :a)
> #<CompilerException java.lang.IndexOutOfBoundsException>
>

But this does:

user=> (assoc [] 0 :a)

[:a]

> So I say this should be map only.

I don't think so.

> Also, what do you mean by your question "Where would the default go"?
> I don't understand what you're getting at yet.
>

Just a question of arg order.

Rich

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