Re:Rich Comment Blocks in Clojure
by bjoli on Friday October 09, 2020 @03:31PM
(#24733534)
Common mistake. For non-lispers: Macros evaluate from the outside, which means the defroutes macro will expand before the (comment ...) macro. For this to reliably work, you need a reader macro that removes the code before macro expansion. I don't know if clojure has that, but common lisp and some schemes have utilities for it.
[ Parent
| on HN ]
There are no comments on this comment yet.