On Jun 24, 2009, at 5:52 PM, tsuraan wrote:

Does clojure still have a concept of a namespace's exports?  I'd like
to be able to list, in my ns declaration, the "publicly available"
functions that my module has, but I'm not seeing any way to do this.
It looks like there used to be an export function, and an ns-exports
function to query the exports of a namespace, but I can't find that in
the clojure api documentation.  Do exports still exist?

It does not currently exist.

Functions in a namespace are public by default. They can be made private using either defn- or using explicit metadata that includes [:private true].

--Steve

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

  • ns exports tsuraan
    • Re: ns exports Stephen C. Gilardi

Reply via email to