Hello, 

I have to use map and get a vector of all the second items in a list. 
I know I can use map to do things with all the items in a list. 
and with get I can get the second item (get collection 1) 

map uses this map what_has _to_be_done  collection

so I thougt this would work (map (get collection 1) collection) 
but then I see this error message 
:   java.lang.IllegalArgumentException: Key must be integer   

where did my thinking get the wrong turn ?

Roelof
 

-- 
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/d/optout.

Reply via email to