In a clean repl: C:\>repl Clojure 1.2.0-master-SNAPSHOT user=> (println (do (ns ns-1) (def my-namespace *ns*) my-namespace)) #<Namespace ns-1> nil ns-1=>
On Apr 30, 1:17 am, alux <alu...@googlemail.com> wrote: > Hello Armando, did you try the second half of you experiment in a > clean REPL? > > As you describe it, the first evaluation may have created the var. > > Regards, alux > > On 29 Apr., 21:32, Armando Blancas <armando_blan...@yahoo.com> wrote: > > > > > > > > The REPL switches to the namespace ns-1 and the var my-namespace is in > > > user ! > > > I don't see that with CLJ 1.2 on Windows: > > > user=> (do (ns ns-1) (def my-namespace *ns*) my-namespace) > > #<Namespace ns-1> > > ns-1=> (ns user) > > nil > > user=> (println (do (ns ns-1) (def my-namespace *ns*) my-namespace)) > > #<Namespace ns-1> > > nil > > ns-1=> (var my-namespace) > > #'ns-1/my-namespace > > > -- > > 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 > athttp://groups.google.com/group/clojure?hl=en- Hide quoted text - > > - Show quoted text - -- 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