(make-machine-testable machine)Walks any machine map and replaces named function values with their var references. Closures (e.g. from higher-order action builders) are left as-is. With vars in the machine, with-redefs can intercept calls at invocation time rather than the captured value at definition time.
Walks any machine map and replaces named function values with their var references. Closures (e.g. from higher-order action builders) are left as-is. With vars in the machine, with-redefs can intercept calls at invocation time rather than the captured value at definition time.
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 |