Various helpers providing a with-monkeypatches form which wraps
Various helpers providing a with-monkeypatches form which wraps
(with-monkeypatches redefs & forms)Builds a try/finally which captures Var bindings (and ^:macro tags) coming in, creates new Var bindings within the try and in the finally restores the original bindings. This allows users to establish stack-local patched contexts.
Builds a try/finally which captures Var bindings (and ^:macro tags) coming in, creates new Var bindings within the try and in the finally restores the original bindings. This allows users to establish stack-local patched contexts.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |