Re: syntax-rules problem

Helmut Eller <[email protected]>
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
* William D Clinger [2008-11-21 16:56+0100] writes:

> In R5RS mode, Larceny uses an initial environment in
> which all possible variables are bound to locations,
> most of which contain undefined values.  This semantics,
> which is explicitly permitted by R5RS 5.2.1, avoids many
> of the semantic problems that arise in implementations
> that attempt to treat top-level definition as a binding
> construct.

Ah.. I wasn't aware of this issue.  I guess the sentence in R5RS 4.2
"Note that a define at top level may or may not introduce a binding; see
section 5.2." was there for people like me.

Thank you very much for the explanation.

Helmut.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.