[R6RS] library syntax

Michael Sperber sperber at informatik.uni-tuebingen.de
Mon Jul 10 13:23:36 EDT 2006

dyb at cs.indiana.edu writes:

>     It also allows lambda bodies to contain interleaved commands and
>     definitions.  I didn't allow this in the syntax srfi because I thought
>     that the library srfi required all of the definitions to appear before
>     all of the commands/expressions.

Could you elaborate a tiny bit on the semantics?  I.e. do we still
translate into letrec* (with dummy identifiers or something), what are
the return values of the last body form is a definition, what are the
return values if there are no expressions in the body?

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

More information about the R6RS mailing list