REPL & Tooling
Adds extra-classpath, a string as for example returned by clojure -Spath, to the current classpath.
functionbabashka.classpath
Takes deps edn map and optionally a map with :aliases (seq of keywords) which will used to calculate classpath. The cl...
functionbabashka.deps
Starts clojure similar to CLI. Use `rlwrap bb` for `clj`-like invocation. Invokes java with babashka.process/process f...
functionbabashka.deps
Returns the current classpath as set by --classpath, BABASHKA_CLASSPATH and add-classpath.
functionbabashka.classpath
- function
babashka.deps
Merge multiple deps edn maps from left to right into a single deps edn map.
functionbabashka.deps
Returns the classpath as a seq of strings, split by the platform specific path separator.
functionbabashka.classpath
Main
8Given a string representation of a fn class, as in a stack trace element, returns a readable version.
functionclojure.main
- function
clojure.main
- function
clojure.main
Default :caught hook for repl
functionclojure.main
- function
clojure.main
A sequence of lib specs that are applied to `require` by default when a new command-line REPL is started.
valueclojure.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
11- function
clojure.repl
- function
clojure.repl
- macro
clojure.repl
- function
clojure.repl
- macro
clojure.repl
- function
clojure.repl
- function
clojure.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 define...
macroclojure.repl
- function
clojure.repl
- function
clojure.repl
- function
clojure.stacktrace
- function
clojure.stacktrace
- function
clojure.stacktrace
- function
clojure.stacktrace
Returns the last 'cause' Throwable in a chain of Throwables.
functionclojure.stacktrace