On Wed, May 20, 2009 at 7:04 PM, George Jahad
<andr...@blackbirdsystems.net>wrote:

>
> Using cljdb I was able to step through the code and see that the
> problem is
> that symbol create is expecting an interned string.
>
> Changing this:
>
> (def s1 (Symbol/create (first (.split "user/n1" "/"))))
>
> to this:
>
> (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!

-- 
Cosmin Stejerean
http://offbytwo.com

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