[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define-syntax
From: |
Neil Jerram |
Subject: |
Re: define-syntax |
Date: |
Tue, 9 Dec 2008 21:17:28 +0000 |
2008/12/9 Pach Roman (DGS-EC/ESG3) <address@hidden>:
>
> take look at the results
>
> (1) dummy => (lambda () (string-concatenate (list "a" "b" "c")))
> (2) dummy => (lambda () "abc")
>
> in the case of define-syntax (1) the string "abc" will be computed at
> the run time,
> the macro version (2) hat produced the "abc" already by reading the
> macro definition.
Agreed.
> I've expected both of the be computed during the reading of scheme
> source.
That's not what define-syntax is supposed to do, as I understand it.
If you think we've got this wrong, can you point to something specific
in R5RS?
Regards,
Neil