Liking cljdoc? Tell your friends :D

utiliva.control

Control forms.

Control forms.
raw docstring

->>?->cljmacro

(->>?-> expr & clauses)

Like ?->, but the conditions are threaded with ->> and the results are threaded with ->. (->>?-> 4 (> 2) inc (> 6) dec)

Like ?->, but the conditions are threaded with ->> and the results are
threaded with ->.
(->>?-> 4 (> 2) inc (> 6) dec)
sourceraw docstring

->?->>cljmacro

(->?->> expr & clauses)

Like cond->, but threads the argument through the conditions as well. (->?->> 4 (> 2) inc (> 6) dec)

Like cond->, but threads the argument through the conditions as well.
(->?->> 4 (> 2) inc (> 6) dec)
sourceraw docstring

?->cljmacro

(?-> expr & clauses)

Like cond->, but threads the argument through the conditions as well. (?-> 4 even? inc odd? inc neg? inc)

Like cond->, but threads the argument through the conditions as well.
(?-> 4 even? inc odd? inc neg? inc)
sourceraw docstring

?->>cljmacro

(?->> expr & clauses)

Like cond->>, but threads the argument through the conditions as well. (?->> 4 even? (assoc {} :four))

Like cond->>, but threads the argument through the conditions as well.
(?->> 4 even? (assoc {} :four))
sourceraw docstring

guarded-letcljmacro

(guarded-let guard-fn bindings & body)

Binds symbols as in let. If an exception is thrown within the block of bindings, all symbols already successfully bound will have guard-fn called on them, in reverse order, for side-effects.

Binds symbols as in let. If an exception is thrown within the
block of bindings, all symbols already successfully bound will
have guard-fn called on them, in reverse order, for side-effects.
sourceraw docstring

locking-whencljmacro

(locking-when lock? x & body)

Like locking, but only locks when lock? evaluates as true.

Like locking, but only locks when lock? evaluates as true.
sourceraw docstring

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

× close