REPL & Tooling
Given a lib that is not yet on the repl classpath, make it available by downloading the library if necessary and addin...
functionclojure.repl.deps
Given lib-coords, a map of lib to coord, will resolve all transitive deps for the libs together and add them to the re...
functionclojure.repl.deps
Calls add-libs with any libs present in deps.edn but not yet present on the classpath. :aliases - coll of alias key...
functionclojure.repl.deps
Main
20Given a string representation of a fn class, as in a stack trace element, returns a readable version.
functionclojure.main
Helper to return an error message string from an exception.
functionclojure.main
Returns a string from exception data, as produced by ex-triage. The first line summarizes the exception phase and loca...
functionclojure.main
Returns an analysis of the phase, error, cause, and location of an error that occurred based on Throwable data, as ret...
functionclojure.main
Loads Clojure source from a file or resource given its path. Paths beginning with @ or @/ are considered relative to c...
functionclojure.main
Usage: java -cp clojure.jar clojure.main [init-opt*] [main-opt] [arg*] With no options or args, runs an interactive R...
functionclojure.main
Reads from reader, which must be a LineNumberingPushbackReader, while capturing the read string. If the read is succes...
functionclojure.main
Generic, reusable, read-eval-print loop. By default, reads from *in*, writes to *out*, and prints exception summaries ...
functionclojure.main
Default :caught hook for repl
functionclojure.main
Returns the root cause of throwables
functionclojure.main
Default :prompt hook for repl
functionclojure.main
Default :read hook for repl. Reads from *in* which must either be an instance of LineNumberingPushbackReader or duplic...
functionclojure.main
A sequence of lib specs that are applied to `require` by default when a new command-line REPL is started.
valueclojure.main
Create and output an exception report for a Throwable to target. Options: :target - "file" (default), "stderr", "...
functionclojure.main
Returns the initial cause of an exception or error by peeling off all of its wrappers
functionclojure.main
If the next character on stream s is a newline, skips it, otherwise leaves the stream untouched. Returns :line-start, ...
functionclojure.main
Skips whitespace characters on stream s. Returns :line-start, :stream-end, or :body to indicate the relative location ...
functionclojure.main
Returns a (possibly unmunged) string representation of a StackTraceElement
functionclojure.main
Executes body in the context of thread-local bindings for several vars that often need to be set!: *ns* *warn-on-refle...
macroclojure.main
Evaluates body with *read-eval* set to a "known" value, i.e. substituting true for :unknown if necessary.
macroclojure.main
REPL
13Given a regular expression or stringable thing, return a seq of all public definitions in all currently-loaded namespace...
functionclojure.repl
Given a string representation of a fn class, as in a stack trace element, returns a readable version.
functionclojure.repl
Prints a sorted directory of public vars in a namespace
macroclojure.repl
Returns a sorted seq of symbols naming public vars in a namespace or namespace alias. Looks for aliases in *ns*
functionclojure.repl
Prints documentation for a var or special form given its name, or for a spec if given a keyword
macroclojure.repl
Prints documentation for any var whose documentation or name contains a match for re-string-or-pattern
functionclojure.repl
Prints a stack trace of the exception, to the depth requested. If none supplied, uses the root cause of the most recen...
functionclojure.repl
Returns the initial cause of an exception or error by peeling off all of its wrappers
functionclojure.repl
Register INT signal handler. After calling this, Ctrl-C will cause the given function f to be called with a single ar...
functionclojure.repl
Prints the source code for the given symbol, if it can find it. This requires that the symbol resolve to a Var defined...
macroclojure.repl
Returns a string of the source code for the given symbol, if it can find it. This requires that the symbol resolve to...
functionclojure.repl
Returns a (possibly unmunged) string representation of a StackTraceElement
functionclojure.repl
Returns a function that takes one arg and uses that as an exception message to stop the given thread. Defaults to the...
functionclojure.repl
REPL utility. Prints a brief stack trace for the root cause of the most recent exception.
functionclojure.stacktrace
Like print-stack-trace but prints chained exceptions (causes).
functionclojure.stacktrace
Prints a Clojure-oriented stack trace of tr, a Throwable. Prints a maximum of n stack frames (default: unlimited). D...
functionclojure.stacktrace
Prints the class and message of a Throwable. Prints the ex-data map if present.
functionclojure.stacktrace
Prints a Clojure-oriented view of one element in a stack trace.
functionclojure.stacktrace
Returns the last 'cause' Throwable in a chain of Throwables.
functionclojure.stacktrace