Brian Marick wrote:

> Benjamin Esham wrote:
> 
> > I am writing a library [1] which has only one function that should be
> > exposed to users. I'd like to be able to test all of the other
> > functions, which are marked private with "defn-". Of course, these
> > functions are inaccessible from the testing namespace (I'm using the
> > testing boilerplate that Leiningen generates).
> 
> I put the private functions in their own namespace that's :used by the API
> namespace. 

Good idea. I'll have to think about whether this would be a good choice for
me.

-- 
Benjamin D. Esham  |  bdes...@gmail.com  |  www.bdesham.info
“Come to think of it, there are already a million monkeys on a
million typewriters, and Usenet is NOTHING like Shakespeare!”
                                                — Blair Houghton

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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