Liking cljdoc? Tell your friends :D

solita.common.logic

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.
raw docstring

if*clj

(if* predicate then-fn)
(if* predicate then-fn else-fn)

Higher order ramda style if function.

Higher order ramda style if function.
raw docstring

if-let*cljmacro

(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.
raw docstring

is-divisible-byclj

(is-divisible-by num divisor)

pipeclj

(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.
raw docstring

predclj

(pred binary-predicate fn value)

unless*clj

(unless* predicate then-fn)

Higher order ramda style unless function.

Higher order ramda style unless function.
raw docstring

when*clj

(when* predicate then-fn)

Higher order ramda style when function.

Higher order ramda style when function.
raw docstring

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

× close