[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] file inclusion (section 4.1.7 of draft 9)



Daniel Villeneuve scripsit:

> (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?

Yes, I believe so: files are included at the S-expression level,
not hygienically.

-- 
But you, Wormtongue, you have done what you could for your true master.  Some
reward you have earned at least.  Yet Saruman is apt to overlook his bargains.
I should advise you to go quickly and remind him, lest he forget your faithful
service.  --Gandalf             John Cowan <cowan@x>

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