SRFI 8: receive: Binding to multiple values

by John David Stone

status: final (1999-08-30)

keywords: Binding, Multiple-Value Returns

See also SRFI 11: Syntax for receiving multiple values, SRFI 71: Extended LET-syntax for multiple values, and SRFI 210: Procedures and Syntax for Multiple Values.

library name: receive


The only mechanism that R5RS provides for binding identifiers to the values of a multiple-valued expression is the primitive call-with-values. This SRFI proposes a more concise, more readable syntax for creating such bindings.