Thanks Matthew! Your solution seems to work fine, the trampoline idea is a very neat trick. I like how it's safe to use require and begin because the continue macro returns fully-expanded syntax which won't be affected by the code injected around (for some reason I thought it was necessary to only inject fully-expanded forms like #%require, but that assumption was wrong).
I'd like to read more about the shifting of "relative" module references, is there anything in the docs about it (I vaguely remember seeing something, but couldn't find it again)? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.