clojure.repl
A
Given a regular expression or stringable thing, return a seq of all public definitions in all currently-loaded namespace...
function([str-or-pattern])
D
Given a string representation of a fn class, as in a stack trace element, returns a readable version.
function([fn-name])
Prints a sorted directory of public vars in a namespace
macro([nsname])
Returns a sorted seq of symbols naming public vars in a namespace or namespace alias. Looks for aliases in *ns*
function([ns])
Prints documentation for a var or special form given its name, or for a spec if given a keyword
macro([name])
F
Prints documentation for any var whose documentation or name contains a match for re-string-or-pattern
function([re-string-or-pattern])
P
Prints a stack trace of the exception, to the depth requested. If none supplied, uses the root cause of the most recen...
function([] [e-or-depth] [e depth])
R
Returns the initial cause of an exception or error by peeling off all of its wrappers
function([t])
S
Register INT signal handler. After calling this, Ctrl-C will cause the given function f to be called with a single ar...
function([] [f])
Prints the source code for the given symbol, if it can find it. This requires that the symbol resolve to a Var defined...
macro([n])
Returns a string of the source code for the given symbol, if it can find it. This requires that the symbol resolve to...
function([x])
Returns a (possibly unmunged) string representation of a StackTraceElement
function([el])
T
Returns a function that takes one arg and uses that as an exception message to stop the given thread. Defaults to the...
function([] [thread])