(calc f & deps)
Define a computation to be made in the config.
args:
f
: a function of 1 argument (the config map) 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 (the config map) that returns a value to be placed in the config. - `deps`: keywords declaring which keys of the config the computation depends on.
(clone-val k)
Makes a calc using fr.jeremyschoffen.mbt.alpha.default.config/calc
to easily dumplicate a value in the conf
(calc :k :k)
; <=>
(clone-val :k)
Makes a calc using [[fr.jeremyschoffen.mbt.alpha.default.config/calc]] to easily dumplicate a value in the conf ```clojure (calc :k :k) ; <=> (clone-val :k) ```
(compute-conf 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.
(pprint-deps config)
Uses ubergraph to pprint our dependency graph.
Uses ubergraph to pprint our dependency graph.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close