--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
Dir is this way because for interactive use, it's convenient not to
have to quote the symbol naming the namespace. So (dir user) and (dir
clojure.core) should work.
In your situation you'll want to call dir-fn, which is a function that
will evaluate its arguments, so:
if we assume (= *ns* 'user) (i.e. you're currently in the namespace "user")
(dir-fn *ns*)
is equivalent to
(dir-fn 'user)
and
(dir user)
HTH
// Ben