This namespace contains higher order logic functions. The purpose is to augment clojure core logic to ramda level.
This namespace contains higher order logic functions. The purpose is to augment clojure core logic to ramda level.
(if* predicate then-fn)
(if* predicate then-fn else-fn)
Higher order ramda style if function.
Higher order ramda style if function.
(if-let* bindings expr)
(if-let* bindings expr else)
This if-let allows multiple bindings. Multiple bindings are transformed to nested if-lets. Else expression can only refer to the first variable.
This if-let allows multiple bindings. Multiple bindings are transformed to nested if-lets. Else expression can only refer to the first variable.
(is-divisible-by num divisor)
(pipe & fns)
Function composition where functions are defined in reversed order. Same as ramda pipe.
Function composition where functions are defined in reversed order. Same as ramda pipe.
(pred binary-predicate fn value)
(unless* predicate then-fn)
Higher order ramda style unless function.
Higher order ramda style unless function.
(when* predicate then-fn)
Higher order ramda style when function.
Higher order ramda style when function.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close