Hello,
This is very useful information, thank you! I still have trouble
understanding _why_ this works, though; I guess I’m a little confused as to
how the scope-flipping influences things.
For instance, I don’t quite understand why the example from the docs works,
but if you define the module
See
https://docs.racket-lang.org/reference/stxtrans.html#%28def._%28%28quote._~23~25kernel%29._syntax-local-introduce%29%29
for
an example program that requires a library via a macro.
On Thu, Nov 12, 2020 at 3:09 AM Veit Heller wrote:
>
> Hello,
>
> I’m suspecting I’m getting a little turned aro
Hello,
I’m suspecting I’m getting a little turned around by phase levels and where
`require` comes in: it seems to be impossible to write a macro that expands
to a valid `require` (it doesn’t throw an error, but the functions aren’t
defined either). What am I missing? At what phase level does
3 matches
Mail list logo