Let vs. Binding in Clojure
let creates a lexically scoped immutable alias for some value. binding creates a dynamically scoped binding for some Var. Dynamic binding means that the code inside your binding form and any code which that code calls (even if not in the local lexical scope) will see the new binding. Given: user> (def ^:dynamic x 0) … Read more