Re: documentation request: please add examples for "use"

2010-10-02 Thread Sean Corfield
On Sat, Oct 2, 2010 at 7:32 AM, Albert Cardona wrote: > I'd like to understand how to properly use "use" with additional > options, such as :only. This doesn't directly address your request but it raised a question in my mind: Should the examples go in the core documentation or is ClojureDocs a

Re: documentation request: please add examples for "use"

2010-10-02 Thread Albert Cardona
I just realized the second paste was that of use, not of refer: user=> (doc refer) - clojure.core/refer ([ns-sym & filters]) refers to all public vars of ns, subject to filters. filters can include at most one each of: :exclude list-of-symbols :only list-of-symbols

documentation request: please add examples for "use"

2010-10-02 Thread Albert Cardona
Hi, I'd like to understand how to properly use "use" with additional options, such as :only. The current documentation for use says: => (doc use) - clojure.core/use ([& args]) Like 'require, but also refers to each lib's namespace using clojure.core/refer. Use :use in