Remix.run Logo
nine_k 5 hours ago

Certainly you can implement the typechecker with macros, but it should also work on macros, before expansion. That is, you likely want (-> ...) typechecked as written, not (only) as expanded, and typing errors reported on the non-expanded form.

andersmurphy 5 hours ago | parent [-]

Right the same way the type checker should check the type checker.