Clojure developers always code with a running REPL.
The Clojure REPL is a live environment in which your Clojure code runs. Using a REPL to develop your code gives you instant feedback on its behaviour and supports rapidly evolving design.
Clojure developers can use the REPL to run a whole file of code, or just a single expression
Quick start (Vim normal state)
, ' or
, s i to start a REPL from a Clojure code file,
. e e to evaluate the previous Clojure expression
, e f to show the results of evaluating the current Clojure expression
||switch between repl and code|
Clojure REPL tools
M-x cider-repl-require-repl-utils adds the REPL utility functions
source into the current REPL namespace.
These REPL utility functions are included in the
user namespace by default.
clojure.repl api documentation for full details