(🧐)
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.).
> 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.).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close