This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see ImplicitLetNilArcfide in WG2's repo for R7RS-large.

Implicit­Let­Nil­Arcfide

arcfide
2010-05-02 09:57:00
1Add in the initial proposal.history
source

Implict Let-nil to replace implicit Begin

Proposal

Certain forms, such as case, cond, when, and unless allow for multiple expressions to all follow one after another in certain parts of their syntax. These expressions are currently wrapped implicitly, in a begin form. This proposal suggests that we change this to an implicit LET-NIL wrapping.

Rationale

While preserving backwards compatibility, this change allows for internal definitions to occur conveniently within certain expressions, where they would otherwise not be allowed. This suits some programmer's styles, and makes some things convenient without breaking anything else.