SRFI 245: Mixing definitions and expressions within bodies

by Daphne Preston-Kendal

status: withdrawn (2024-04-04)

keywords: Binding

See also SRFI 251: Mixing groups of definitions with expressions within bodies.

Abstract

Scheme has traditionally required procedure bodies and the bodies of derived constructs such as let to contain definitions followed by expressions. This SRFI proposes to allow expressions to appear before and intermingled with definitions in such bodies, as was allowed in program bodies by the R6RS and in library bodies by R7RS small.