On May 3, 2011 5:10 PM, "Andre van Tonder" <andre@x> wrote:
>
> (define-syntax my-syntax-rules
> (syntax-rules ()
> ((_ blah) (syntax-rules ..........)))
>
> (define-syntax foo (my-syntax-rules ........)) ;; PHASE ERROR
>
> This kind of thing would just work in some Scheme implementations, but others
> would require MY-SYNTAX-RULES to be imported FOR EXPAND for the macro definition
> of FOO to work.
And it may require the module that defines MY-SYNTAX-RULES to import some identifiers at negative meta levels.
_______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports