[r6rs-discuss] [Formal] Trivial Enhancement of macros in v5.91: capture-syntax

Lynn Winebarger owinebar at indiana.edu
Tue Nov 28 09:22:12 EST 2006


Abdulaziz Ghuloum wrote:
> 
> 
> Cool, no?  It even worked the first time.  Of course the library would
> have been not as simple had explicit phases been in place, but that's
> another story.
> 
    I agree, those are cool macros.  However, they did not do what I want,
which is to deprivilege core forms at the top level.
    My limited imagination leads me to think your worry is that internal
representations will get leaked into the wild by injudicious application
of primitive transformers.  If this is a problem, you could say
"Capture-syntax forms and their associated values should appear only as
  the right hand side of a syntax binding form.  Other uses have been known
  to cause heartburn, warts, and ugly children."
Or, if you must be restrictive, you could just change the "should" to "must"
and drop the second sentence.

Lynn



More information about the r6rs-discuss mailing list