Skip to content

clojure.core/as->

View this page on ClojureDocs

Type: macro Added: Clojure 1.5 Examples: 5 Runnable: 4
([expr name & forms])

Binds name to expr, evaluates the first form in the lexical context of that binding, then binds name to that result, repeating for each successive form, returning the result of the last form.

Examples

by phreed on
by Dimagog on
by jamesmacaulay on
by x on . May have evaluation errors.
by reborg on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.