(system-options system-name coll)
'system-options' is an initialization macro which generates specs for the options of a component system. it requires the following arguments: 'system-name' a string or symbol used to create symbols for products of the macro (see below) 'coll' a collection of three value collections [unqualified-key validation-function default-value] system-options will create the following: a map containing all options keys and default values '{system-name}-defaults,' individual specs for each option specified '{namespace-name}/{option-keyname}', a hashmap spec containing all options '{system-name}-spec', and a merged options map function '{system-name}-options' which is used to obtain system options resulting from the merge of defaults and environment variables
'system-options' is an initialization macro which generates specs for the options of a component system. it requires the following arguments: 'system-name' a string or symbol used to create symbols for products of the macro (see below) 'coll' a collection of three value collections [unqualified-key validation-function default-value] system-options will create the following: a map containing all options keys and default values '{system-name}-defaults,' individual specs for each option specified '{namespace-name}/{option-keyname}', a hashmap spec containing all options '{system-name}-spec', and a merged options map function '{system-name}-options' which is used to obtain system options resulting from the merge of defaults and environment variables
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close