Liking cljdoc? Tell your friends :D
Clojure only.

adamdavislee.monocle.monocle


🧐cljmacro

(🧐)

Monocle /ˈmɒnəkl/: 'A round piece of glass worn… to help you to see more clearly'

This macro captures and defs the state of every local binding where it's called. It is intended to be used as a lightweight dev tool for inspecting and molding live data running through defns, let bindings, etc.

Also available as the #m reader macro (a nod to the `hashp library).

Will not override bindings that shadow clojure core (type, name, etc.).

> Monocle /ˈmɒnəkl/:
> 'A round piece of glass worn… to help you to see more clearly'

This macro captures and `def`s the state of every local binding where it's
called. It is intended to be used as a lightweight dev tool for inspecting
and molding live data running through `defn`s, `let` bindings, etc.

Also available as the `#m` reader macro (a nod to the `hashp library).
   
Will not override bindings that shadow clojure core (`type`, `name`, etc.).
raw docstring

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

× close