Hi,

is there a way to attach metadata (especially a docstring) to
namespaces? The Namespace-class implements (via AReference ->
IReference -> IMeta) the IMeta-interface, but the obvious way of using
the reader-macro to attach metadata does not work and I don't know any
other way.

I.e. I would like this to work: (ns #^{:doc "Description of the
namespace"} foo)

At the moment, most of the libraries (at least in clojure.contrib)
convey the lib's usage/introduction/tutorial via a comment-section at
the top or bottom of the library's main file and I'd think it would be
really nice to be able to pull out this information in a more
programmatic manner.
--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to