▲ | JonChesterfield 2 days ago | |
Depends on your point of view really. I'd define a macro as a function with slightly weird evaluation rules. If you want to write a macro where any call to it which typechecks creates code which itself typechecks, you have to deal with eval of sexpr which is roughly a recursive typecheck on partial information, which sounds tractable to me. |