Forgot to mention...

> (defn f []
>   (try
>     (create-ns 'ns-a)
>     (in-ns 'ns-a)
>     (refer-clojure)
>     (defn fn-a [] :a/a)
>     (in-ns 'user)
>     (println ns-a/fn-a)  ; Expect some function pointer string.
>     (finally (remove-ns 'ns-a))))

If I change the (println...) form for the following:

(println (all-ns))

#<Namespace ns-a> appears in the list and if instead it is

(println (find-ns 'ns-a))

I also get #<Namespace ns-a>.

Benoit
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to