General
23Evaluates expr and throws an exception if it does not evaluate to logical true.
macrocljs.core
Ignores body, yields nil
macrocljs.core
Takes a body of expressions and yields a Delay object that will invoke the body only the first time it is forced (with f...
macrocljs.core
returns true if x is a Delay created with delay
functioncljs.core
Also reader macro: @var/@atom/@delay. Returns the most-recently-committed value of ref. When applied to a var or atom, r...
functioncljs.core
Evaluates the expressions in order and returns the value of the last. If no expressions are supplied, returns nil.
special-formcljs.core
bindings => name n Repeatedly executes body (presumably for side-effects) with name bound to integers from 0 through n-...
macrocljs.core
Evaluates x then calls all of the methods and functions with the value of x supplied at the front of the given arguments...
macrocljs.core
If x is already reduced?, returns it, else returns (reduced x)
functioncljs.core
Evaluates the form data structure (not text!) and returns the result. Delegates to cljs.core/*eval*. Intended for use in...
functioncljs.core
If x is a Delay, returns the (possibly cached) value of its expression, else returns x
functioncljs.core
Returns a transducer that ends transduction when pred returns true for an input. When retf is supplied it must be a fn o...
functioncljs.core
Evaluates test. If logical false, evaluates and returns then expr, otherwise else expr, if supplied, else nil.
macrocljs.core
bindings => binding-form test If test is not nil, evaluates then with binding-form bound to the value of test, if not, ...
macrocljs.core
Expands to code which yields a lazy sequence of the concatenation of the supplied colls. Each coll expr is not evaluate...
macrocljs.core
fnspec ==> (fname [params*] exprs) or (fname ([params*] exprs)+) Takes a vector of function specs and a body, and gener...
macrocljs.core
Wraps x in a way such that a reduce will terminate with the value x
functioncljs.core
Returns true if x is the result of a call to reduced
functioncljs.core
Evaluates expr and prints the time it took. Returns the value of expr.
macrocljs.core
If x is reduced?, returns (deref x), else returns x
functioncljs.core
bindings => x xs Roughly the same as (when (seq xs) (let [x (first xs)] body)) but xs is evaluated only once
macrocljs.core
bindings => binding-form test When test is not nil, evaluates body with binding-form bound to the value of test
macrocljs.core
binding => var-symbol temp-value-expr Temporarily redefines vars while executing the body. The temp-value-exprs will b...
macrocljs.core