Hi!
Why is the following code throwing an exception?
PushbackReader rdr = new PushbackReader( new StringReader( "(in-ns
'user)" ) );
Object input = LispReader.read(rdr, false, null, false );
clojure.lang.Compiler.eval( input );
java.lang.IllegalStateException: Can't change/establish root binding
of: *ns* with set
at clojure.lang.Var.set(Var.java:170)
at clojure.lang.RT$1.invoke(RT.java:206)
at clojure.eval__2237.invoke(Unknown Source)
at clojure.lang.Compiler.eval(Compiler.java:3847)
...
I'm trying to set the namespace so that subsequent expressions are
evaluated within it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---