Email list hosting service & mailing list manager


Re: Initial comments & questions Alex Shinn 26 Mar 2004 02:09 UTC

At Thu, 25 Mar 2004 16:15:51 -0500 (EST), Andre van Tonder wrote:
>
> Perhaps one could state something like:
>
>   For portability, this SRFI implements forms
>
>      define-syntax*
>      let-syntax*
>      letrec-syntax*

I think it's best to go all or nothing here.  Require define-syntax
handle both syntax-rules and computation-rules, or use a separate form.
If you only suggest the new behavior, and throw in compatibility forms,
Schemes that can easily extend define-syntax will do so and those that
can't won't, and people writing in the former Schemes will produce code
that won't work in the latter Schemes.  You end up actually making the
result less portable.

Anyway, any Scheme can trivially handle both by renaming define-syntax
to something like internal-define-syntax and building a new
define-syntax on top of that.

--
Alex