On Sun, 6 Sep 2009, John Cowan wrote:
> I would really like to know how it is that R6RS top-level programs are
> different in their semantics from R5RS programs, though. I'm told there's
> a difference, but I don't see it (apart from the question of imports,
> to be sure).
>
> Can someone explain that to me?
I remember the following two differences.
1) In an R6RS program a macro use can precede its definition, which is
incompatible with REPL evaluation, e.g. this is valid in R6RS but
will not work in R5RS
(define x (m))
(define-syntax m (syntax-rules .......))
2) Redefinitions are disallowed in R6RS.
Andre
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss