Skip to content

Instantly share code, notes, and snippets.

Created July 4, 2021 12:07
What would you like to do?
A Cursive REPL command to `def` multiple let bindings. Supports all forms of let bindings.
(->> (macroexpand '(let [~selection]))
(partition 2)
(map (fn [[sym val]]
(intern *ns* sym (eval val)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment