On May 3, 2011 5:10 PM, "Andre van Tonder" <[email protected]> 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
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to