3 ms·
There is no macro needed here. You just write the code, then execute it at compile time. This is designed properly, it's not any where near as hacky as C++'s co
by mhh__ 9y ago
There is no macro needed here. You just write the code, then execute it at compile time. This is designed properly, it's not any where near as hacky as C++'s constexpr
- junke 9y agoNo need for macros, eval-when is a special operator designed for this: (eval-when (:compile-toplevel) ...) You can also have read-time macros or load-time values, depending on what you need.