Liking cljdoc? Tell your friends :D

palikka.core


+provides+clj

source

create-contextclj

(create-context system)

Create Context record (map) from system, containing values specified by providing calls.

Context record has print-method which hides the real contents.

Create Context record (map) from system, containing values
specified by providing calls.

Context record has print-method which hides the real contents.
sourceraw docstring

GetPropertycljprotocol

-getclj

(-get this component)
source

providingclj

(providing component spec)

Associates metadata with component describing what values the component provides for others to use. Provides are specified as a map keys. Keys in the map correspond to key in context map. Values in the map are they keys in the component where provieded value is. The value can be a IFn so if you need to retrieve nested value you can use e.g. (comp :foo :bar). Alternatively, if the keys are the same in both the component and context, they map be specified as vector of keys.

Associates metadata with component describing what values
the component provides for others to use. Provides are specified
as a map keys. Keys in the map correspond to key in context map.
Values in the map are they keys in the component where provieded
value is. The value can be a IFn so if you need to retrieve
nested value you can use e.g. `(comp :foo :bar)`.
Alternatively, if the keys are the same in both the component and
context, they map be specified as vector of keys.
sourceraw docstring

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

× close