Liking cljdoc? Tell your friends :D
Clojure only.

trident.repl

Convenience functions for working at the repl.

Suggested usage:

  • Include trident.repl in the extra-deps of your :dev alias
  • Launch a repl with this command: clj -Adev -e "(do (require 'trident.repl) (trident.repl/init))" -r

This will:

  • begin spec instrumentation with orchestra.spec.test/instrument
  • start an nRepl server (on port 7888 by default)
  • start mount components with mount.core/start
  • define reset and goto functions in the user namespace
Convenience functions for working at the repl.

Suggested usage:
 - Include `trident.repl` in the `extra-deps` of your `:dev` alias
 - Launch a repl with this command:
   `clj -Adev -e "(do (require 'trident.repl) (trident.repl/init))" -r`

This will:
 - begin spec instrumentation with `orchestra.spec.test/instrument`
 - start an nRepl server (on port 7888 by default)
 - start mount components with `mount.core/start`
 - define `reset` and `goto` functions in the `user` namespace
raw docstring

gotoclj

(goto sym)

(doto sym require in-ns)

`(doto sym require in-ns)`
sourceraw docstring

initclj

(init)
(init {:keys [nrepl-port] :or {nrepl-port 7888}})
source

init*clj

(init*)
source

resetcljmacro

(reset)

Reloads namespaces, starting and stopping mount components

Reloads namespaces, starting and stopping mount components
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close