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 MultipleValues in WG2's repo for R7RS-large.

Multiple­Values

cowan
2012-05-17 04:03:15
1history
source

I asked my usual suite of Schemes to evaluate (+ 1 (values 2 3)).

Racket, MIT, Gambit, Scheme48/scsh, Kawa, SISC, Chibi, Chez, SCM, Ikarus, Ypsilon, IronScheme, SigScheme all report errors, either of the form "Single value expected, multiple values received", or else a low-level error reflecting how multiple values are represented.

Gauche, Chicken, Bigloo, Guile, Larceny, Mosh, STklos reduce the multiple values to a single value. Of these, only Guile fails to convert zero values to the implementation-specific "unspecified" value.