Re:Realizing Hackett, a metaprogrammable Haskell
by chongli on Sunday May 28, 2017 @09:18PM
(#14436884)
Wouldn't the macro-expansion phase be run until it reaches a fixed point? That way all macros could be fully expanded before proceeding to the next phase.
[ Parent
| on HN ]
Re:Realizing Hackett, a metaprogrammable Haskell
by wtetzner on Monday May 29, 2017 @10:54AM
(#14439386)
I believe that's how macros in Racket work, but each iteration is considered a separate phase. At least, that's how I understood it.
This page has some useful information about phases: https://docs.racket-lang.org/guide/phases.html