Hi,
I was playing around with data structures and found that I couldn't
type:
(conj #{aap noot mies} 'wim)
which results in:
java.lang.Exception: Unable to resolve symbol: mies in this context
Instead I have to type:
(conj '#{aap noot mies} 'wim)
or:
(conj (set '(aap noot mies)) 'wim)
I wonder why the quote is needed. Normally the quote is only used to
prevent the first item of a list being interpreted as a (special)
operator / function; but that's not the case here. Or is it?
TIA,
Arie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---