Liking cljdoc? Tell your friends :D

fig.core

Fig is a configuration file reader based on clojure.edn.

Fig is a configuration file reader based on clojure.edn.
raw docstring

add-reader!clj

(add-reader! s f)

Define a new reader function. Takes the tag name and an object that implements the Transformable Protocol.

Define a new reader function. Takes the tag name and an object that
implements the Transformable Protocol.
raw docstring

read-configclj

(read-config f)

Read the supplied configuration file. Argument is any value supported by clojure.java.io/reader

Read the supplied configuration file. Argument is any value supported by
clojure.java.io/reader
raw docstring

readersclj


Transformablecljprotocol

postwalkableclj

(postwalkable this)

prewalkableclj

(prewalkable this)

transclj

(trans this m)

transformable?clj

(transformable? this)

Checks if the supplied argument supports the Transformable Protocol.

Checks if the supplied argument supports the Transformable Protocol.
raw docstring

walk-until-doneclj

(walk-until-done m)
(walk-until-done m p)
(walk-until-done m p {:keys [max-walks] :or {max-walks 300}})

Keep Walking the collection until no more transformations have been applied. Takes the configuration leaf to transform and optionally the current parsed configuration. A map of option arguments can be supplied as the last argument. The :max-walks key controls the maximum recursion depth of the tree walking.

Keep Walking the collection until no more transformations have been
applied. Takes the configuration leaf to transform and optionally the
current parsed configuration. A map of option arguments can be supplied as
the last argument. The :max-walks key controls the maximum recursion depth
of the tree walking.
raw docstring

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

× close