I have a question about  apply function.
For examle,create a hash map:

user=> (hash-map :a 1 :b 2)
{:a 1, :b 2}

It works fine,but if i want to use apply:

user=> (apply hash-map :a 1 :b 2)
java.lang.IllegalArgumentException: Don't know how to create ISeq from:
java.lang.Integer (NO_SOURCE_FILE:0)

Why it throw this exception?Is apply could not work with keyword? Any
solution?thanks a lot.

-- 
庄晓丹 killme2...@gmail.com
伯岩(花名)  bo...@taobao.com
Blog: http://www.blogjava.net/killme2008

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