clojure.repl
(source)Utilities meant to be used interactively at the REPL
For more info about this library see:
https://clojuredocs.org/clojure.corePublic Variable | Short Description |
---|---|
apropos (clj) | Given a regular expression or stringable thing, return a seq of all public definitions in all currently-loaded namespaces that match the str-or-pattern. |
demunge (clj) | Given a string representation of a fn class, as in a stack trace element, returns a readable version. |
dir (clj) | Prints a sorted directory of public vars in a namespace. |
dir-fn (clj) | Returns a sorted seq of symbols naming public vars in a namespace or namespace alias. |
doc (clj) | Prints documentation for a var or special form given its name, or for a spec if given a keyword. |
find-doc (clj) | Prints documentation for any var whose documentation or name contains a match for re-string-or-pattern. |
pst (clj) | Prints a stack trace of the exception, to the depth requested. |
root-cause (clj) | Returns the initial cause of an exception or error by peeling off all of its wrappers. |
set-break-handler! (clj) | Register INT signal handler. |
source (clj) | Prints the source code for the given symbol, if it can find it. |
source-fn (clj) | Returns a string of the source code for the given symbol, if it can find it. |
stack-element-str (clj) | Returns a (possibly unmunged) string representation of a StackTraceElement. |
thread-stopper (clj) | Returns a function that takes one arg and uses that as an exception message to stop the given thread. |