Commit 6a815c31 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby 🤘🏻
Browse files

feat: Add let macro.

parent a601c8b0
......@@ -62,3 +62,12 @@
(defmacro cons* [&rest args]
`(+ (remove-last ~args) (last ~args)))
;;;
;;; Let.
;;;
(defmacro let [vname value body]
`(do
(setv ~vname ~value)
~body))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment