The implementation details of the config API.
The implementation details of the config API.
(calc f & deps)Define a computation to be made in the config.
args:
f: a function of 1 argument (map whose keys are the deps) that returns a value to be placed in the config.deps: keywords declaring which keys of the config the computation depends on.Define a computation to be made in the config. args: - `f`: a function of 1 argument (map whose keys are the `deps`) that returns a value to be placed in the config. - `deps`: keywords declaring which keys of the config the computation depends on.
(compute conf)Takes a config and compute the parts marked for computation.
A config is a map from keys to values. Special values are made
using the fr.jeremyschoffen.mbt.alpha.default.config.impl/calc function.
It marks these values of the config map for computation.
Takes a config and compute the parts marked for computation. A config is a map from keys to values. Special values are made using the [[fr.jeremyschoffen.mbt.alpha.default.config.impl/calc]] function. It marks these values of the config map for computation.
(execution-plan g)Compute the order in which keys must be computed.
Compute the order in which keys must be computed.
(extract-calcs conf)Turns the config into a map int a format suitable to construct a dependency graph.
Turns the config into a map int a format suitable to construct a dependency graph.
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 |