Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(defmacro mylet [binding & body]
`((fn [~@(take-nth 2 binding)]
~@(take-nth 2 (rest binding))))
(mylet [a 1 b 2]
(+ a b)) ;; 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.