Liking cljdoc? Tell your friends :D

babbage.functor


any-pure?clj

(any-pure? m)
source

arbclj

source

curryclj

(curry f arity)

Return a curried version of f, which will continue currying itself until it has received arity arguments. N.B. the resulting function accepts arguments one at a time.

Return a curried version of f, which will continue currying itself
until it has received arity arguments. N.B. the resulting function
accepts arguments one at a time.
sourceraw docstring

in-mapsclj

(in-maps op arity default)
(in-maps op arity default & args)

With three arguments, return a function which, when called with arity maps, applies op to the values of the map (as in fmap).

With more than three arguments, immediately applies op.

If any key in an argument map has a nil value, it will be replaced by the default; if any argument is nil, it will be replaced by (pure default). The exception is if all arguments are nil, in which case the result will be nil.

(in-map / 2 0 {:x 6} {:x 2}) --> {:x 3}

Prefer in-nested-maps for computations at the fringes of maps containing maps containing ...

Note that the non-nil arguments determine the results that will eventually be present; e.g., if one of the maps is {}, rather than nil, the result will be {}.

With three arguments, return a function which, when called with arity
maps, applies op to the values of the map (as in fmap).

With more than three arguments, immediately applies op.

If any key in an argument map has a nil value, it will be replaced
by the default; if any argument is nil, it will be replaced
by (pure default). The exception is if *all* arguments are nil, in
which case the result will be nil.

(in-map / 2 0 {:x 6} {:x 2}) --> {:x 3}

Prefer in-nested-maps for computations at the fringes of maps containing maps containing ...

Note that the non-nil arguments determine the results that will
eventually be present; e.g., if one of the maps is {}, rather
than nil, the result will be {}.
sourceraw docstring

in-nested-mapsclj

(in-nested-maps nesting op arity default)
(in-nested-maps nesting op arity default & args)

Apply op with the supplied arity and default in maps nested nesting levels deep.

Apply op with the supplied arity and default in maps nested nesting levels deep.
sourceraw docstring

nil-orcljmacro

(nil-or alt-1 alt-2)
source

pure?clj

(pure? o)
source

purifyclj

(purify m)

Replace all pure values in a map with nil.

Replace all pure values in a map with nil.
sourceraw docstring

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

× close