James Cash 🍍
Follow

Hrm, so today I learned that in Clojure the auto-gensyms (like "foo#") in macros are only expanded once, at read time, so a macro that does something like `(def thing# ...)` will be the same name with every invocation, so you would need to do the equivalent of `(def ~(gensym) ...)`. A little bit annoying to figure out!

Sign in to participate in the conversation
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!