[Scheme-reports] file inclusion (section 4.1.7 of draft 9) Daniel Villeneuve (08 Jun 2013 03:36 UTC)

[Scheme-reports] file inclusion (section 4.1.7 of draft 9) Daniel Villeneuve 08 Jun 2013 03:27 UTC

Looking at the specification of file inclusion at section 4.1.7and
remembering
Dybvig's paper about syntax-case, I'm unsure abouttherequirements
of R7RS regarding the use of `include' within macros:

(define-syntax m
   (syntax-rules ()
     ((_) (lambda (a) (include "some/file.sch")))))

where the file "some/file.sch" contains, say,

(+ a 1)

Is the symbol `a' in "some/file.sch" supposed to match the
lambda's argument?

--
Daniel Villeneuve

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports