user=> (resolve (symbol "aaa")) #'user/aaa might be what you want?
On Aug 19, 1:11 pm, samppi <[email protected]> wrote: > Why doesn't this work? > > Clojure 1.0.0- > user=> (declare aaa) > #'user/aaa > user=> (var (symbol "aaa")) > java.lang.ClassCastException: clojure.lang.PersistentList cannot be > cast to clojure.lang.Symbol (NO_SOURCE_FILE:2) > user=> (var 'aaa) > java.lang.ClassCastException: clojure.lang.Cons cannot be cast to > clojure.lang.Symbol (NO_SOURCE_FILE:3) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
