Is there some trick Clojure command to list all functions defined in a
namespace?
--
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
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
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)
(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