Liking cljdoc? Tell your friends :D

rmap.core

The core API for recursive maps.

The core API for recursive maps.
raw docstring

->rmapclj

(->rmap m)

Takes an associative datastructure m and returns m where each of the values are wrapped with rval.

Takes an associative datastructure m and returns m where each of the
values are wrapped with [[rval]].
sourceraw docstring

->rmap!clj

(->rmap! m)
(->rmap! m f)

Same as ->rmap, but composed with valuate!.

Same as [[->rmap]], but composed with [[valuate!]].
sourceraw docstring

ref-tagclj

(ref-tag key)

A tagged literal processor, for use with clojure.edn/read-string.

(clojure.edn/read-string {:readers {'rmap/ref rmap.core/ref-tag}} "{:foo 1 :bar #rmap/ref :foo}")

A tagged literal processor, for use with clojure.edn/read-string.

(clojure.edn/read-string {:readers {'rmap/ref rmap.core/ref-tag}}
  "{:foo 1 :bar #rmap/ref :foo}")
sourceraw docstring

rmapcljmacro

(rmap m)

Takes a literal associative datastructure m and returns m where each of the value expressions are wrapped with rval.

Takes a literal associative datastructure m and returns m where each
of the value expressions are wrapped with [[rval]].
sourceraw docstring

rmap!cljmacro

(rmap! m)
(rmap! m f)

Same as rmap, but composed with valuate!.

Same as [[rmap]], but composed with [[valuate!]].
sourceraw docstring

rvalcljmacro

(rval & body)

Takes a body of expressions and yields an RVal object. The body has implicit access to a (fn ref [key] [key not-found]) function and is not evaluated yet.

Takes a body of expressions and yields an RVal object. The body has
implicit access to a `(fn ref [key] [key not-found])` function and
is not evaluated yet.
sourceraw docstring

rval?clj

(rval? x)

Returns true if x is an RVal.

Returns true if x is an RVal.
sourceraw docstring

valuate!clj

(valuate! m)
(valuate! m f)

Given associative datastructure m, returns m where all RVal values are evaluated. Takes an optional post-evaluation wrapper function.

Given associative datastructure m, returns m where all RVal values
are evaluated. Takes an optional post-evaluation wrapper function.
sourceraw docstring

valuate-keys!clj

(valuate-keys! m & keys)

Given associative datastructure m, returns m where all RVal values under the given keys and their dependencies are evaluated.

Given associative datastructure m, returns m where all RVal values
under the given keys and their dependencies are evaluated.
sourceraw docstring

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

× close