Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(defn weird [& b]
(println b)
(when (< (first b) 2)
(recur (inc (first b)))))
(weird 1)
;; the first time you run it, b is an argseq as expected: (1)
;; when you recur, b is bound to 2 rather than (2).
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.