Re: list all functions in namespace?

2014-04-04 Thread Stephen Gilardi
On Apr 4, 2014, at 7:53 PM, Christopher Howard cmhowa...@alaska.edu wrote: Is there some trick Clojure command to list all functions defined in a namespace? http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/ns-publics is a good start. --Steve -- You received this message

Re: list all functions in namespace?

2014-04-04 Thread guns
On Fri 4 Apr 2014 at 03:53:54PM -0800, Christopher Howard wrote: Is there some trick Clojure command to list all functions defined in a namespace? I use these functions to create cheatsheets on the fly: (defn fn-var? [v] (let [f @v] (or (contains? (meta v) :arglists) (fn? f)

Re: list all functions in namespace?

2014-04-04 Thread Mars0i
(doc dir) - clojure.repl/dir ([nsname]) Macro Prints a sorted directory of public vars in a namespace On Friday, April 4, 2014 6:53:54 PM UTC-5, Christopher Howard wrote: Is there some trick Clojure command to list all functions defined in a namespace? -- You