(name :a) gives you "a" :), and I think the reason is that str shows the type somewhat, just as (str '(1 2 3)) or (str [1 2 3])
Regards, Heinz On May 6, 2010, at 21:33 , Sean Devlin wrote: > Why does (str :a) return ":a" and not "a"? I have to work around this > a lot, and I'm just curios what the reasoning to go this direction was. > > -- > 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 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
