Cosmin Stejerean a écrit :
> On Wed, May 20, 2009 at 7:04 PM, George Jahad 
> <andr...@blackbirdsystems.net <mailto:andr...@blackbirdsystems.net>> 
> wrote:
>
>
>     (def s1 (Symbol/create (.intern (first (.split "user/n1" "/")))))
>
>     will fix your problem.
>
>
> That makes a lot of sense and I guess I should have paid attention to 
> the function definition for Symbol/create. Thanks!

You should also use Symbol/intern instead of Symbol/create.

Christophe


-- 
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.blogspot.com/ (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
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