[plt-scheme] macro keyword conflicting with other imports?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Nov 10 18:11:27 EST 2004

On Nov 10, 2004, at 5:56 PM, ian barland (penguin flight instructor) 

> Matthias writes:
>> Export fun as a keyword that blows up when used in an improper 
>> context.
> Not sure if this is what you meant, but:
> I made `fun' a syntax-id-rules with no clauses, so it always blows up,
> except when it occurs inside the intended macro which preemptively
> transforms it away.

Saves the day!

> But this way I'm able to export `fun', so that other people trying to
> multiply-import the keyword will get a plausible error message.
> ...Still, seems like an awfully odd contortion!

Tell Matthew about it.

> It's clear to me, I don't fully understand this Hygiene thing;
> Am off to look up the Dybvig paper referenced in help-desk...

Me, too. It's been too long. -- Matthias

Posted on the users mailing list.