Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

active.clojure.config

Application configuration via a big map.

A configuration is a nested key-value map.

It contains top-level settings and sections of qualified settings, like so:

{:top-level-setting-key 'foo
 {:section-key
  {:section-setting 'bar}}}

Additionally, a config contains profiles with additional settings that can be mixed in, like so:

{:top-level-setting-key 'foo
 {:section-key
  {:section-setting 'bar}}
 {:profiles
  {:dev
   {:top-level-setting-key 'bar
    {:section-key
     {:section-setting 'baz}}}}}}

Each profile has the same format as the top-level configuration itself (sans the :profiles key).

Application configuration via a big map.

A configuration is a nested key-value map.

It contains top-level settings and sections of qualified settings, like so:

    {:top-level-setting-key 'foo
     {:section-key
      {:section-setting 'bar}}}

Additionally, a config contains *profiles* with additional
settings that can be mixed in, like so:

    {:top-level-setting-key 'foo
     {:section-key
      {:section-setting 'bar}}
     {:profiles
      {:dev
       {:top-level-setting-key 'bar
        {:section-key
         {:section-setting 'baz}}}}}}

Each profile has the same format as the top-level configuration itself
  (sans the `:profiles` key).
raw docstring

accessclj/s

(access config setting-or-section & sections)

Access the value of a setting or map of a section.

Note that the setting comes first, followed by the access path.

  • setting-or-section is either a setting, section or an index into a sequence schema.
  • sections is a list of sections and indices into sequence schemas
Access the value of a setting or map of a section.

Note that the setting comes first, followed by the access path.

- `setting-or-section` is either a setting, section or an index into a sequence schema.
- `sections` is a list of sections and indices into sequence schemas
sourceraw docstring

access-lensclj/s

(access-lens setting-or-section & sections)

A lens focussing on the value of a setting or map of a section. Both the yanker and the shover use access to check the validity of the structure of the given configuration object and to signal errors otherwise. Additionally, the shover completes the given value according to the range or schema.

Note that the setting comes first, followed by the access path.

  • setting-or-section is either a setting, section or an index into a sequence schema.
  • sections is a list of sections and indices into sequence schemas
A lens focussing on the value of a setting or map of a section.
Both the yanker and the shover use [[access]] to check the validity of the
structure of the given configuration object and to signal errors otherwise.
Additionally, the shover completes the given value according to the range or
schema.

Note that the setting comes first, followed by the access path.

- `setting-or-section` is either a setting, section or an index into a sequence schema.
- `sections` is a list of sections and indices into sequence schemas
sourceraw docstring

any-rangeclj/s

(any-range & rs)

Range that satisfies one of the ranges, tried from left to right.

Range that satisfies one of the ranges, tried from left to right.
sourceraw docstring

any-value-rangeclj/s

(any-value-range dflt)

Range for any value at all.

Range for any value at all.
sourceraw docstring

boolean-rangeclj/s

(boolean-range dflt)

Range for a boolean, with explicit default.

Range for a boolean, with explicit default.
sourceraw docstring

boolean?clj/s

(boolean? x)

Check if a value is a boolean.

Check if a value is a boolean.
sourceraw docstring

check-sectionclj/s

(check-section section val inherited-map path)
source

complete-sectionclj/s

(complete-section inherited-map path section)
source

complete-settingsclj/s

(complete-settings inherited-map settings-map)
source

configuration-objectclj/s≠

clj
(configuration-object rec__3650__auto__)
(configuration-object data__3651__auto__ v__3652__auto__)
cljs
(configuration-object rec__3306__auto__)
(configuration-object data__3307__auto__ v__3308__auto__)

Lens for the object field from a [[Configuration]] record. See active.clojure.config/really-make-configuration.

Lens for the `object` field from a [[Configuration]] record. See [[active.clojure.config/really-make-configuration]].
sourceraw docstring

configuration-schemaclj/s≠

clj
(configuration-schema rec__3650__auto__)
(configuration-schema data__3651__auto__ v__3652__auto__)
cljs
(configuration-schema rec__3306__auto__)
(configuration-schema data__3307__auto__ v__3308__auto__)

Lens for the schema field from a [[Configuration]] record. See active.clojure.config/really-make-configuration.

Lens for the `schema` field from a [[Configuration]] record. See [[active.clojure.config/really-make-configuration]].
sourceraw docstring

configuration?clj/s

(configuration? thing)

Is object a Configuration record? See active.clojure.config/really-make-configuration.

Is object a `Configuration` record? See [[active.clojure.config/really-make-configuration]].
sourceraw docstring

default-string-rangeclj/s

(default-string-range dflt)
source

diff-configuration-objectsclj/s

(diff-configuration-objects schema config-object-1 config-object-2)

Returns sequence of triples [path-vector version-1 version-2] of settings that differ.

The config objects must be validated and completed.

Returns sequence of triples `[path-vector version-1 version-2]` of settings that differ.

The config objects must be validated and completed.
sourceraw docstring

diff-configurationsclj/s

(diff-configurations schema config-1 config-2)

Returns sequence of triples [path-vectors version-1 version-2] of settings that differ.

Returns sequence of triples [path-vectors version-1 version-2] of settings that differ.
sourceraw docstring

diff-setting-valuesclj/s

(diff-setting-values setting path v1 v2)

Returns sequence of triples [path-vector version-1 version-2] of settings that differ. Handles some ranges more intelligently.

Returns sequence of triples `[path-vector version-1 version-2]` of settings that differ.
Handles some ranges more intelligently.
sourceraw docstring

integer-between-rangeclj/s

(integer-between-range min max dflt)

Range for an integer from a specified range, with explicit default.

Range for an integer from a specified range, with explicit default.
sourceraw docstring

keyword-rangeclj/s

source

make-configurationclj/s

(make-configuration schema config-object)
(make-configuration schema profile-names config-object)

Make a configuration from a map.

Make a configuration from a map.
sourceraw docstring

make-map-schemaclj/s

(make-map-schema description settings settings-map sections sections-map)

Make a [[Schema]] object describing a config format. For internal use; you should use schema.

  • description is a human-readable description
  • settings is a collection of [[Setting]]s
  • settings-map is a map from setting keys to settings
  • sections is a collection of [[Section]]s
  • sections-map is a map from section keys to sections
Make a [[Schema]] object describing a config format.
*For internal use;* you should use [[schema]].

- `description` is a human-readable description
- `settings` is a collection of [[Setting]]s
- `settings-map` is a map from setting keys to settings
- `sections` is a collection of [[Section]]s
- `sections-map` is a map from section keys to sections
sourceraw docstring

make-rangeclj/s

(make-range description completer reduce)
(make-range description completer reduce diff)
source

make-range-errorclj/s

(make-range-error range path value)

Make a a [[RangeError]] object describing an error from range checking.

  • range is the range that caused the error
  • path is the path in the configuration that describes where the error is.
  • value is the value that was wrong.

range can be nil' ifkey` does not appear in the schema.

Make a a [[RangeError]] object describing an error from range checking.
- `range` is the range that caused the error
- `path` is the path in the configuration that describes where the error is.
- `value` is the value that was wrong.

`range` can be `nil' if `key` does not appear in the schema.
sourceraw docstring

make-scalar-rangeclj/s

(make-scalar-range description completer)
(make-scalar-range description completer diff)

Make a range for unstructured, non-collection ranges.

Make a range for unstructured, non-collection ranges.
sourceraw docstring

make-sectionclj/s

(make-section key schema inherit?)

Construct a Section (Section within a config with settings of its own.) record.

key: access via active.clojure.config/section-key schema: access via active.clojure.config/section-schema inherit?: access via active.clojure.config/section-inherit?

Construct a `Section` (Section within a config with settings of its own.) record.

`key`: access via [[active.clojure.config/section-key]]
`schema`: access via [[active.clojure.config/section-schema]]
`inherit?`: access via [[active.clojure.config/section-inherit?]]
sourceraw docstring

make-sequence-schemaclj/s

(make-sequence-schema description element-schema non-empty?)

Construct a SequenceSchema (A sequence schema describes a sequence config format.) record.

description: access via active.clojure.config/sequence-schema-description element-schema: access via active.clojure.config/sequence-schema-element-schema non-empty?: access via active.clojure.config/sequence-schema-non-empty?

Construct a `SequenceSchema` (A sequence schema describes a sequence config format.) record.

`description`: access via [[active.clojure.config/sequence-schema-description]]
`element-schema`: access via [[active.clojure.config/sequence-schema-element-schema]]
`non-empty?`: access via [[active.clojure.config/sequence-schema-non-empty?]]
sourceraw docstring

make-settingclj/s

(make-setting key description range inherit?)

Make a named schema [[Setting]] object.

  • key is a keyword naming the setting
  • description is a human-readable description object
  • range is a [[Range]] for the admissible values of the setting
  • inherit? says whether the setting values may be inherited from a surrounding section
Make a named schema [[Setting]] object.
- `key` is a keyword naming the setting
- `description` is a human-readable description object
- `range` is a [[Range]] for the admissible values of the setting
- `inherit?` says whether the setting values may be inherited from a surrounding section
sourceraw docstring

map-of-rangeclj/s

(map-of-range key-range val-range)

Range for a map with keys and values of underlying ranges, respectively.

Range for a map with keys and values of underlying ranges, respectively.
sourceraw docstring

map-of-ranges-diff-fnclj/s

(map-of-ranges-diff-fn range)
source

map-schema-descriptionclj/s≠

clj
(map-schema-description rec__3650__auto__)
(map-schema-description data__3651__auto__ v__3652__auto__)
cljs
(map-schema-description rec__3306__auto__)
(map-schema-description data__3307__auto__ v__3308__auto__)

Lens for the description field from a [[Schema]] record. See active.clojure.config/make-map-schema.

Lens for the `description` field from a [[Schema]] record. See [[active.clojure.config/make-map-schema]].
sourceraw docstring

map-schema-sectionsclj/s≠

clj
(map-schema-sections rec__3650__auto__)
(map-schema-sections data__3651__auto__ v__3652__auto__)
cljs
(map-schema-sections rec__3306__auto__)
(map-schema-sections data__3307__auto__ v__3308__auto__)

Lens for the sections field from a [[Schema]] record. See active.clojure.config/make-map-schema.

Lens for the `sections` field from a [[Schema]] record. See [[active.clojure.config/make-map-schema]].
sourceraw docstring

map-schema-sections-mapclj/s≠

clj
(map-schema-sections-map rec__3650__auto__)
(map-schema-sections-map data__3651__auto__ v__3652__auto__)
cljs
(map-schema-sections-map rec__3306__auto__)
(map-schema-sections-map data__3307__auto__ v__3308__auto__)

Lens for the sections-map field from a [[Schema]] record. See active.clojure.config/make-map-schema.

Lens for the `sections-map` field from a [[Schema]] record. See [[active.clojure.config/make-map-schema]].
sourceraw docstring

map-schema-settingsclj/s≠

clj
(map-schema-settings rec__3650__auto__)
(map-schema-settings data__3651__auto__ v__3652__auto__)
cljs
(map-schema-settings rec__3306__auto__)
(map-schema-settings data__3307__auto__ v__3308__auto__)

Lens for the settings field from a [[Schema]] record. See active.clojure.config/make-map-schema.

Lens for the `settings` field from a [[Schema]] record. See [[active.clojure.config/make-map-schema]].
sourceraw docstring

map-schema-settings-mapclj/s≠

clj
(map-schema-settings-map rec__3650__auto__)
(map-schema-settings-map data__3651__auto__ v__3652__auto__)
cljs
(map-schema-settings-map rec__3306__auto__)
(map-schema-settings-map data__3307__auto__ v__3308__auto__)

Lens for the settings-map field from a [[Schema]] record. See active.clojure.config/make-map-schema.

Lens for the `settings-map` field from a [[Schema]] record. See [[active.clojure.config/make-map-schema]].
sourceraw docstring

map-schema?clj/s

(map-schema? thing)

Is object a Schema record? See active.clojure.config/make-map-schema.

Is object a `Schema` record? See [[active.clojure.config/make-map-schema]].
sourceraw docstring

max-string-rangeclj/s

(max-string-range max-length)
source

merge-config-objectsclj/s

(merge-config-objects schema c)
(merge-config-objects schema c1 c2)
(merge-config-objects schema c1 c2 & cs)

Merge several config maps into one, with the latter taking precedence.

Merge several config maps into one, with the latter taking precedence.
sourceraw docstring

non-nil-rangeclj/s

Range for any non-nil value.

Range for any non-nil value.
sourceraw docstring

nonempty-sequence-schemaclj/s

(nonempty-sequence-schema desc el-schema)
source

nonempty-string-rangeclj/s

(nonempty-string-range & [max-length])

Range for a non-empty string with optional max length.

Range for a non-empty string with optional max length.
sourceraw docstring

normalize&check-config-objectclj/s

(normalize&check-config-object schema config)
(normalize&check-config-object schema profile-names config)
(normalize&check-config-object schema profile-names config inherited-map path)

Normalize and check the validity of a configuration object.

In the result, every setting has an associated value.

Normalize and check the validity of a configuration object.

In  the result, every setting has an associated value.
sourceraw docstring

one-of-rangeclj/s

(one-of-range vals dflt)

Range for one of a set of values, with explicit default.

Range for one of a set of values, with explicit default.
sourceraw docstring

one-of-range-custom-compareclj/s

(one-of-range-custom-compare vals dflt compare-fn)

Range for one of a set of values, with custom compare function, with explicit default.

Range for one of a set of values, with custom compare function,
with explicit default.
sourceraw docstring

optional-default-rangeclj/s

(optional-default-range range dflt)

Range for something that may be in an underlying range. If it is nil, then dflt is used, which must be in the underlying range too.

Range for something that may be in an underlying range. If it is nil, then `dflt` is used, which must be in the underlying range too.
sourceraw docstring

optional-rangeclj/s

(optional-range range)

Range for something that may be in an underlying range or nil.

Range for something that may be in an underlying range or `nil`.
sourceraw docstring

or-dot-rangeclj/s

(or-dot-range r)

Given range r is required in the first line, the remainder of the lines the field holds ".".

Given range `r` is required in the first line,
the remainder of the lines the field holds ".".
sourceraw docstring

predicate-rangeclj/s

(predicate-range desc pred dflt)

Range specified by a simple predicate.

Range specified by a simple predicate.
sourceraw docstring

range-completerclj/s≠

clj
(range-completer rec__3650__auto__)
(range-completer data__3651__auto__ v__3652__auto__)
cljs
(range-completer rec__3306__auto__)
(range-completer data__3307__auto__ v__3308__auto__)

Lens for the completer field from a [[ValueRange]] record. See active.clojure.config/really-make-range.

Lens for the `completer` field from a [[ValueRange]] record. See [[active.clojure.config/really-make-range]].
sourceraw docstring

range-descriptionclj/s≠

clj
(range-description rec__3650__auto__)
(range-description data__3651__auto__ v__3652__auto__)
cljs
(range-description rec__3306__auto__)
(range-description data__3307__auto__ v__3308__auto__)

Lens for the description field from a [[ValueRange]] record. See active.clojure.config/really-make-range.

Lens for the `description` field from a [[ValueRange]] record. See [[active.clojure.config/really-make-range]].
sourceraw docstring

range-diffclj/s≠

clj
(range-diff rec__3650__auto__)
(range-diff data__3651__auto__ v__3652__auto__)
cljs
(range-diff rec__3306__auto__)
(range-diff data__3307__auto__ v__3308__auto__)

Lens for the diff field from a [[ValueRange]] record. See active.clojure.config/really-make-range.

Lens for the `diff` field from a [[ValueRange]] record. See [[active.clojure.config/really-make-range]].
sourceraw docstring

range-error-pathclj/s≠

clj
(range-error-path rec__3650__auto__)
(range-error-path data__3651__auto__ v__3652__auto__)
cljs
(range-error-path rec__3306__auto__)
(range-error-path data__3307__auto__ v__3308__auto__)

Lens for the path field from a [[RangeError]] record. See active.clojure.config/make-range-error.

Lens for the `path` field from a [[RangeError]] record. See [[active.clojure.config/make-range-error]].
sourceraw docstring

range-error-rangeclj/s≠

clj
(range-error-range rec__3650__auto__)
(range-error-range data__3651__auto__ v__3652__auto__)
cljs
(range-error-range rec__3306__auto__)
(range-error-range data__3307__auto__ v__3308__auto__)

Lens for the range field from a [[RangeError]] record. See active.clojure.config/make-range-error.

Lens for the `range` field from a [[RangeError]] record. See [[active.clojure.config/make-range-error]].
sourceraw docstring

range-error-valueclj/s≠

clj
(range-error-value rec__3650__auto__)
(range-error-value data__3651__auto__ v__3652__auto__)
cljs
(range-error-value rec__3306__auto__)
(range-error-value data__3307__auto__ v__3308__auto__)

Lens for the value field from a [[RangeError]] record. See active.clojure.config/make-range-error.

Lens for the `value` field from a [[RangeError]] record. See [[active.clojure.config/make-range-error]].
sourceraw docstring

range-error?clj/s

(range-error? thing)

Is object a RangeError record? See active.clojure.config/make-range-error.

Is object a `RangeError` record? See [[active.clojure.config/make-range-error]].
sourceraw docstring

range-mapclj/s

(range-map descr range f & args)

Range constructed by transforming values matching an existing range.

Range constructed by transforming values matching an existing range.
sourceraw docstring

range-reduceclj/s≠

clj
(range-reduce rec__3650__auto__)
(range-reduce data__3651__auto__ v__3652__auto__)
cljs
(range-reduce rec__3306__auto__)
(range-reduce data__3307__auto__ v__3308__auto__)

Lens for the reduce field from a [[ValueRange]] record. See active.clojure.config/really-make-range.

Lens for the `reduce` field from a [[ValueRange]] record. See [[active.clojure.config/really-make-range]].
sourceraw docstring

range?clj/s

(range? thing)

Is object a ValueRange record? See active.clojure.config/really-make-range.

Is object a `ValueRange` record? See [[active.clojure.config/really-make-range]].
sourceraw docstring

really-make-configurationclj/s

(really-make-configuration object schema)

Construct a Configuration (Validated and expanded configuration object.) record.

object: access via active.clojure.config/configuration-object schema: access via active.clojure.config/configuration-schema

Construct a `Configuration` (Validated and expanded configuration object.) record.

`object`: access via [[active.clojure.config/configuration-object]]
`schema`: access via [[active.clojure.config/configuration-schema]]
sourceraw docstring

really-make-rangeclj/s

(really-make-range description completer reduce diff)

Make a [[Range]] range object.

  • `description' is a human-readable string
  • `completer' is a function that accepts a range, a path, and a value, and either returns a "completed" value that takes defaults etc. into account, or a [[RangeError]] object.
  • reduce is a function accepting a range, a path, a function, an initial result, and a value, reducing collection values similar to clojure [[reduce]], calling (f range path res v) on all scalar values.
  • diff is a function accepting two values that returns a sequence of [path v1 v2], see diff functions below
Make a [[Range]] range object.
- `description' is a human-readable string
- `completer' is a function that accepts a range, a path, and a value,
   and either returns a "completed" value that takes defaults etc. into account,
   or a [[RangeError]] object.
- `reduce` is a function accepting a range, a path, a function, an initial result,
   and a value, reducing collection values similar to clojure [[reduce]], calling
   `(f range path res v)` on all scalar values.
- `diff` is a function accepting two values that returns a sequence of `[path v1 v2]`, see
  diff functions below
sourceraw docstring

scalar-range-reduceclj/s

(scalar-range-reduce completer)
source

schemaclj/s

(schema description & element-list)

Construct a map schema.

  • description is a human-readable description
  • `element-list' is a list of the [[Setting]]s and [[Section]]s of the schema
Construct a map schema.

- `description` is a human-readable description
- `element-list' is a list of the [[Setting]]s and [[Section]]s of the schema
sourceraw docstring

schema-rangeclj/s

(schema-range schema)

Range for a configuration object matching a schema.

Range for a configuration object matching a schema.
sourceraw docstring

sectionclj/s

(section key schema & {:keys [inherit?]})

Make a section within a config with settings of its own.

Make a section within a config with settings of its own.
sourceraw docstring

section-inherit?clj/s≠

clj
(section-inherit? rec__3650__auto__)
(section-inherit? data__3651__auto__ v__3652__auto__)
cljs
(section-inherit? rec__3306__auto__)
(section-inherit? data__3307__auto__ v__3308__auto__)

Lens for the inherit? field from a [[Section]] record. See active.clojure.config/make-section.

Lens for the `inherit?` field from a [[Section]] record. See [[active.clojure.config/make-section]].
sourceraw docstring

section-keyclj/s≠

clj
(section-key rec__3650__auto__)
(section-key data__3651__auto__ v__3652__auto__)
cljs
(section-key rec__3306__auto__)
(section-key data__3307__auto__ v__3308__auto__)

Lens for the key field from a [[Section]] record. See active.clojure.config/make-section.

Lens for the `key` field from a [[Section]] record. See [[active.clojure.config/make-section]].
sourceraw docstring

section-schemaclj/s≠

clj
(section-schema rec__3650__auto__)
(section-schema data__3651__auto__ v__3652__auto__)
cljs
(section-schema rec__3306__auto__)
(section-schema data__3307__auto__ v__3308__auto__)

Lens for the schema field from a [[Section]] record. See active.clojure.config/make-section.

Lens for the `schema` field from a [[Section]] record. See [[active.clojure.config/make-section]].
sourceraw docstring

section-subconfigclj/s

(section-subconfig config & sections)

Extract a section from a config as a config.

Extract a section from a config as a config.
sourceraw docstring

section-subconfig-lensclj/s

(section-subconfig-lens & sections)
source

section?clj/s

(section? thing)

Is object a Section record? See active.clojure.config/make-section.

Is object a `Section` record? See [[active.clojure.config/make-section]].
sourceraw docstring

sections->lensclj/s

(sections->lens sections)
source

sequable?clj/s

(sequable? thing)

Test if something can be coerced to a seq.

Test if something can be coerced to a seq.
sourceraw docstring

sequence-of-rangeclj/s

(sequence-of-range range)

Range for a sequence of values of an underlying range.

Range for a sequence of values of an underlying range.
sourceraw docstring

sequence-schemaclj/s

(sequence-schema desc el-schema)
source

sequence-schema-descriptionclj/s≠

clj
(sequence-schema-description rec__3650__auto__)
(sequence-schema-description data__3651__auto__ v__3652__auto__)
cljs
(sequence-schema-description rec__3306__auto__)
(sequence-schema-description data__3307__auto__ v__3308__auto__)

Lens for the description field from a [[SequenceSchema]] record. See active.clojure.config/make-sequence-schema.

Lens for the `description` field from a [[SequenceSchema]] record. See [[active.clojure.config/make-sequence-schema]].
sourceraw docstring

sequence-schema-element-schemaclj/s≠

clj
(sequence-schema-element-schema rec__3650__auto__)
(sequence-schema-element-schema data__3651__auto__ v__3652__auto__)
cljs
(sequence-schema-element-schema rec__3306__auto__)
(sequence-schema-element-schema data__3307__auto__ v__3308__auto__)

Lens for the element-schema field from a [[SequenceSchema]] record. See active.clojure.config/make-sequence-schema.

Lens for the `element-schema` field from a [[SequenceSchema]] record. See [[active.clojure.config/make-sequence-schema]].
sourceraw docstring

sequence-schema-non-empty?clj/s≠

clj
(sequence-schema-non-empty? rec__3650__auto__)
(sequence-schema-non-empty? data__3651__auto__ v__3652__auto__)
cljs
(sequence-schema-non-empty? rec__3306__auto__)
(sequence-schema-non-empty? data__3307__auto__ v__3308__auto__)

Lens for the non-empty? field from a [[SequenceSchema]] record. See active.clojure.config/make-sequence-schema.

Lens for the `non-empty?` field from a [[SequenceSchema]] record. See [[active.clojure.config/make-sequence-schema]].
sourceraw docstring

sequence-schema-subconfig-lensclj/s

(sequence-schema-subconfig-lens & sections)
source

sequence-schema?clj/s

(sequence-schema? thing)

Is object a SequenceSchema record? See active.clojure.config/make-sequence-schema.

Is object a `SequenceSchema` record? See [[active.clojure.config/make-sequence-schema]].
sourceraw docstring

set-of-rangeclj/s

(set-of-range range)

Range for a set of values of an underlying range.

Range for a set of values of an underlying range.
sourceraw docstring

settingclj/s

(setting key description range & {:keys [inherit?]})

Construct a setting.

  • key is a keyword naming the setting
  • description is a human-readable description object
  • range is a [[Range]] for the admissible values of the setting
  • inherit? says whether the setting values may be inherited from a surrounding section
Construct a setting.
- `key` is a keyword naming the setting
- `description` is a human-readable description object
- `range` is a [[Range]] for the admissible values of the setting
- `inherit?` says whether the setting values may be inherited from a surrounding section
sourceraw docstring

setting-default-valueclj/s

(setting-default-value setting)

Compute the default value for a setting.

Compute the default value for a setting.
sourceraw docstring

setting-descriptionclj/s≠

clj
(setting-description rec__3650__auto__)
(setting-description data__3651__auto__ v__3652__auto__)
cljs
(setting-description rec__3306__auto__)
(setting-description data__3307__auto__ v__3308__auto__)

Lens for the description field from a [[Setting]] record. See active.clojure.config/make-setting.

Lens for the `description` field from a [[Setting]] record. See [[active.clojure.config/make-setting]].
sourceraw docstring

setting-inherit?clj/s≠

clj
(setting-inherit? rec__3650__auto__)
(setting-inherit? data__3651__auto__ v__3652__auto__)
cljs
(setting-inherit? rec__3306__auto__)
(setting-inherit? data__3307__auto__ v__3308__auto__)

Lens for the inherit? field from a [[Setting]] record. See active.clojure.config/make-setting.

Lens for the `inherit?` field from a [[Setting]] record. See [[active.clojure.config/make-setting]].
sourceraw docstring

setting-keyclj/s≠

clj
(setting-key rec__3650__auto__)
(setting-key data__3651__auto__ v__3652__auto__)
cljs
(setting-key rec__3306__auto__)
(setting-key data__3307__auto__ v__3308__auto__)

Lens for the key field from a [[Setting]] record. See active.clojure.config/make-setting.

Lens for the `key` field from a [[Setting]] record. See [[active.clojure.config/make-setting]].
sourceraw docstring

setting-rangeclj/s≠

clj
(setting-range rec__3650__auto__)
(setting-range data__3651__auto__ v__3652__auto__)
cljs
(setting-range rec__3306__auto__)
(setting-range data__3307__auto__ v__3308__auto__)

Lens for the range field from a [[Setting]] record. See active.clojure.config/make-setting.

Lens for the `range` field from a [[Setting]] record. See [[active.clojure.config/make-setting]].
sourceraw docstring

setting?clj/s

(setting? thing)

Is object a Setting record? See active.clojure.config/make-setting.

Is object a `Setting` record? See [[active.clojure.config/make-setting]].
sourceraw docstring

slurpable-rangeclj

Range for something that may be passed to [[slurp]].

Range for something that may be passed to [[slurp]].
sourceraw docstring

string-rangeclj/s

Range for an abitrary string, default is empty string.

Range for an abitrary string, default is empty string.
sourceraw docstring

tuple-of-rangeclj/s

(tuple-of-range & rs)

Range for a sequence of mixed underlying ranges.

Range for a sequence of mixed underlying ranges.
sourceraw docstring

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

× close