On Apr 5, 2009, at 3:23 PM, dysinger wrote:

I need coffee - too many typos.  I meant to say "I am trying to avoid
_typing_ 'x.y.z' twice"

(str (the-ns 'user)) is is even more human-error prone than just
typing "user".

I was look for a way to introspect ns (DRY up the Logger/getLogger
call). In java you could just Logger.getLogger(this.getClass().getName
()) or something so you are not prone to typos and it's refactor-
friendly.

If you want the name of the current namespace as a string, here's one way:

        (-> *ns* ns-name name)

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to