Using Clojure 1.3.0-alpha8 can anyone else confirm this?
user=> (require '[clojure.repl :as r])
nil
user=> (r/doc doc)
-------------------------
clojure.repl/doc
([name])
Macro
Prints documentation for a var or special form given its name
nil
user=> (the-ns 'clojure.repl)
#<Namespace clojure.repl>
user=> (ns-aliases (the-ns 'clojure.repl))
{}
user=> (map #(ns-aliases (ns-name %)) (all-ns))
({} {} {} {} {} {} {} {} {r #<Namespace clojure.repl>} {} {} {} {} {}
{} {} {})
Basically it seems that the namespace returned by (the-ns), when given
to ns-aliases, returns an empty map. While on the other hand,
namespaces returned by (all-ns) when passed to ns-aliases returns the
map I expect, {r #<Namespace clojure.repl>}
--
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