Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.default.config


baseclj

source

calcclj

(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.
sourceraw docstring

clone-valclj

(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)
```
sourceraw docstring

compute-confclj

(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.
sourceraw docstring

make-base-configclj

(make-base-config)
(make-base-config user-defined)
source

pprint-depsclj

(pprint-deps config)

Uses ubergraph to pprint our dependency graph.

Uses ubergraph to pprint our dependency graph.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close