[plt-scheme] let-require
On Mon, Nov 2, 2009 at 1:37 PM, Dave Herman <dherman at ccs.neu.edu> wrote:
>> I provide this in a planet package:
>
> That's a pretty cool trick-- how'd you do it? Lifting + (require (prefix-in
> ...))?
>
> Dave
No prefix, as you can see. The main tricks are lifting, binding to
temporary names, and rename transformers (to bind back to the names
you want in the local scope). There is some deep, arcane macro
hackery to make it all work right, though, including a workaround for
a bug in generate-temporaries. (The bug may since have been fixed.)
I had to exchange a lot of emails with Matthew to get this working
right.
--Carl