Liking cljdoc? Tell your friends :D

clj-fast.lens

Code transformation functions which abstract over the behaviors of inlineable functions

Code transformation functions which abstract over the behaviors of inlineable
functions
raw docstring

getclj

(get f m ks)

Takes a function f, symbol m and sequence ks and constructs a nested get structure. f must be a mapping of (f sym k) -> get-expr, for example: (fn [sym k] `(get sym k))

Takes a function f, symbol m and sequence ks and constructs a nested
get structure.
f must be a mapping of
(f sym k) -> get-expr, for example:
(fn [sym k] `(get sym k))
sourceraw docstring

get-someclj

(get-some f m ks)

Takes a function f, symbol m and sequence ks and constructs a linear get structure, as in some->. f must be a mapping of (f sym k) -> get-expr, for example: (fn [sym k] `(get sym k))

Takes a function f, symbol m and sequence ks and constructs a linear
get structure, as in some->.
f must be a mapping of
(f sym k) -> get-expr, for example:
(fn [sym k] `(get sym k))
sourceraw docstring

putclj

(put putter getter m ks v)

Take two functions, putter and getter, symbol m, sequence ks and symbol v and constructs an assoc-in structure, as if inlining core Clojure's assoc-in. getter must be a mapping of (f sym k) -> get-expr, for example: (fn [sym k] `(get sym k))

similarly, putter must to the same with assoc.

Take two functions, putter and getter, symbol m, sequence ks and
symbol v and constructs an assoc-in structure, as if inlining
core Clojure's assoc-in.
getter must be a mapping of
(f sym k) -> get-expr, for example:
(fn [sym k] `(get sym k))

similarly, putter must to the same with assoc.
sourceraw docstring

updateclj

(update putter getter m ks f args)

Take two functions, putter and getter, symbol m, sequence ks and symbol v and constructs an update-in structure, as if inlining core Clojure's update-in. getter must be a mapping of (f sym k) -> get-expr, for example: (fn [sym k] `(get sym k))

similarly, putter must to the same with assoc.

Take two functions, putter and getter, symbol m, sequence ks and
symbol v and constructs an update-in structure, as if inlining
core Clojure's update-in.
getter must be a mapping of
(f sym k) -> get-expr, for example:
(fn [sym k] `(get sym k))

similarly, putter must to the same with assoc.
sourceraw docstring

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

× close