On 19/07/2011, at 2:29 PM, Sean Corfield wrote:

> On Mon, Jul 18, 2011 at 9:17 PM, Tuba Lambanog <tuba.lamba...@gmail.com> 
> wrote:
>> (set "abc")
>> gives me #{\a \b \c}.
>> I'm expecting instead: #{a b c}
> 
> (set (map "abc"))
> 
> (set (map str "Tuba Lambanog"))

This will produce #{"a" "b" "c"}

I think 
(set (map #(symbol (str %)) "abc"))
should do the trick

> -- 
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
> Railo Technologies, Inc. -- http://www.getrailo.com/
> 
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
> 
> -- 
> 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
]

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