Control Flow
Takes an expression, and a set of clauses. Each clause can take the form of either: test-constant result-expr (...
macroclojure.core
Takes a set of test/expr pairs. It evaluates each test one at a time. If a test returns logical true, cond evaluates ...
macroclojure.core
Takes a binary predicate, an expression, and a set of clauses. Each clause can take the form of either: test-expr r...
macroclojure.core
Evaluates test, then consequent or alternative.
special-formclojure.core
bindings => binding-form test If test is true, evaluates then with binding-form bound to the value of test, if not...
macroclojure.core
Evaluates test. If logical true, evaluates body in an implicit do.
macroclojure.core
bindings => binding-form test When test is true, evaluates body with binding-form bound to the value of test
macroclojure.core
Evaluates test. If logical false, evaluates body in an implicit do.
macroclojure.core
Constructs a data representation for a Throwable with keys: :cause - root cause message :phase - error phase ...
functionclojure.core
Returns the cause of ex if ex is a Throwable. Otherwise returns nil.
functionclojure.core
Returns exception data (a map) if ex is an IExceptionInfo. Otherwise returns nil.
functionclojure.core
Create an instance of ExceptionInfo, a RuntimeException subclass that carries a map of additional data.
functionclojure.core
Returns the message attached to ex if ex is a Throwable. Otherwise returns nil.
functionclojure.core
Throw an exception.
special-formclojure.core
try/catch/finally expression.
special-formclojure.core
General
28Evaluates expression x and throws an AssertionError with optional message if x does not evaluate to logical true. A...
macroclojure.core
SCI var that represents SCI's clojure.core/*assert*
valuesci.core
Ignores body, yields nil
macroclojure.core
Takes a body of expressions and yields a Delay object that will invoke the body only the first time it is forced (with...
macroclojure.core
returns true if x is a Delay created with delay
functionclojure.core
Also reader macro: @ref/@agent/@var/@atom/@delay/@future/@promise. Within a transaction, returns the in-transaction-va...
functionclojure.core
Evaluates expressions in order, returning the last.
special-formclojure.core
bindings => name n Repeatedly executes body (presumably for side-effects) with name bound to integers from 0 throug...
macroclojure.core
Evaluates x then calls all of the methods and functions with the value of x supplied at the front of the given argumen...
macroclojure.core
If x is already reduced?, returns it, else returns (reduced x)
functionclojure.core
Evaluates the form data structure (not text!) and returns the result.
functionclojure.core
If x is a Delay, returns the (possibly cached) value of its expression, else returns x
functionclojure.core
Returns a transducer that ends transduction when pred returns true for an input. When retf is supplied it must be a fn...
functionclojure.core
Evaluates test. If logical false, evaluates and returns then expr, otherwise else expr, if supplied, else nil.
macroclojure.core
bindings => binding-form test If test is not nil, evaluates then with binding-form bound to the value of test, if...
macroclojure.core
Expands to code which yields a lazy sequence of the concatenation of the supplied colls. Each coll expr is not evalua...
macroclojure.core
fnspec ==> (fname [params*] exprs) or (fname ([params*] exprs)+) Takes a vector of function specs and a body, and gen...
macroclojure.core
Wraps x in a way such that a reduce will terminate with the value x
functionclojure.core
Returns true if x is the result of a call to reduced
functionclojure.core
Evaluates expr and prints the time it took. Returns the value of expr.
macroclojure.core
If x is reduced?, returns (deref x), else returns x
functionclojure.core
bindings => x xs Roughly the same as (when (seq xs) (let [x (first xs)] body)) but xs is evaluated only once
macroclojure.core
bindings => binding-form test When test is not nil, evaluates body with binding-form bound to the value of test
macroclojure.core
Evaluates body in a context in which *in* is bound to a fresh StringReader initialized with the string s.
macroclojure.core
Evaluates body in a context in which sci's *in* is bound to a fresh StringReader initialized with the string s.
macrosci.core
Sets the precision and rounding mode to be used for BigDecimal operations. Usage: (with-precision 10 (/ 1M 3)) or: ...
macroclojure.core
binding => var-symbol temp-value-expr Temporarily redefines Vars while executing the body. The temp-value-exprs wi...
macroclojure.core
Temporarily redefines Vars during a call to func. Each val of binding-map will replace the root value of its key whic...
functionclojure.core
Repeatedly executes body (presumably for side-effects) with bindings and filtering as provided by "for". Does not ret...
macroclojure.core
List comprehension. Takes a vector of one or more binding-form/collection-expr pairs, each followed by zero or more ...
macroclojure.core
Evaluates the exprs in a lexical context in which the symbols in the binding-forms are bound to their respective init-...
macroclojure.core
Evaluates exprs and rebinds to the recursion point.
special-formclojure.core
trampoline can be used to convert algorithms requiring mutual recursion without stack consumption. Calls f with suppli...
functionclojure.core
Repeatedly executes body while test expression is true. Presumes some side-effect will cause test to become false/nil....
macroclojure.core