Liking cljdoc? Tell your friends :D

if-let.core


if-let*cljmacro

(if-let* bindings then)
(if-let* bindings then else & oldform)

bindings => binding-form test If test is true, evaluates then with binding-form bound to the value of test, if not, yields else

bindings => binding-form test
If test is true, evaluates then with binding-form bound to the value of
test, if not, yields else
sourceraw docstring

if-some*cljmacro

(if-some* bindings then)
(if-some* bindings then else & oldform)

bindings => binding-form test If test is not nil, evaluates then with binding-form bound to the value of test, if not, yields else

bindings => binding-form test
If test is not nil, evaluates then with binding-form bound to the
value of test, if not, yields else
sourceraw docstring

let-predcljmacro

(let-pred pred bindings & body)

bindings => binding-form test If pred fails - the return the input to the pred.

bindings => binding-form test
If pred fails - the return the input to the pred.
sourceraw docstring

pred->cljmacro

(pred-> pred expr & forms)

When expr is passed by the predicate, threads it into the first form (via ->), and when that result is passed by the predicate, through the next etc, return the first failed expr

When expr is passed by the predicate, threads it into the first form (via ->),
and when that result is passed by the predicate, through the next etc,
return the first failed expr
sourceraw docstring

pred->>cljmacro

(pred->> pred expr & forms)

When expr is passed by the predicate, threads it into the first form (via ->>), and when that result is passed by the predicate, through the next etc, return the first failed expr

When expr is passed by the predicate, threads it into the first form (via ->>),
and when that result is passed by the predicate, through the next etc,
return the first failed expr
sourceraw docstring

when-let*cljmacro

(when-let* bindings & body)

bindings => binding-form test When test is true, evaluates body with binding-form bound to the value of test

bindings => binding-form test
When test is true, evaluates body with binding-form bound to the value of test
sourceraw docstring

when-some*cljmacro

(when-some* bindings & body)

bindings => binding-form test When test is not nil, evaluates body with binding-form bound to the value of test

bindings => binding-form test
When test is not nil, evaluates body with binding-form bound to the
value of test
sourceraw docstring

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

× close