ClojureDocs

Nav

Namespaces

let

clojure.core

Available since 1.0 (source)
  • (let [bindings*] exprs*)
binding => binding-form init-expr
binding-form => name, or destructuring-form
destructuring-form => map-destructure-form, or seq-destructure-form
 Evaluates the exprs in a lexical context in which the symbols in
the binding-forms are bound to their respective init-exprs or parts
therein.
 See https://clojure.org/reference/special_forms#binding-forms for
more information about destructuring.