Hi , all
I am new to Clojure.
For now , i have a piece of code :
(let [res {}]
(doseq [id [111 222 333]
num [2 3 4]]
(assoc res id num))
(count res))
i want to get the res {111 2 , 222 3 , 333 4} and count 3
but the repl return me {} and 0
i really don't get it.
Any suggestion??
BR!!
------------------------------------****
刘家齐 (Jacky Liu)
**
手机:15201091195 邮箱:[email protected]
Skype:jacky_liu_1987 QQ:406229156
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.