[plt-scheme] let-require

From: Carl Eastlund (carl.eastlund at gmail.com)
Date: Mon Nov 2 13:40:33 EST 2009

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


Posted on the users mailing list.