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)
  • load all namespaces visible to clojure.tools.namespace.repl/refresh
  • call mount.core/start
  • add an alias to reset 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)
 - load all namespaces visible to `clojure.tools.namespace.repl/refresh`
 - call `mount.core/start`
 - add an alias to [[reset]] in the `user` namespace
raw docstring

initclj

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

resetcljmacro

(reset & args)

Reloads namespaces, starting and stopping mount components

Reloads namespaces, starting and stopping mount components
sourceraw docstring

reset*clj

(reset*)
(reset* {:keys [mount?] :or {mount? true}})

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