[racket] Void expression found

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Jan 6 19:43:36 EST 2015

See Dybvig's paper on this issue (cons vs values). This is an SE-PL trade off. 


On Jan 6, 2015, at 7:05 PM, Benjamin Greenman wrote:

> From a practical point of view, at the low level the implementation is
> heavily optimized for functions that return exactly one value.
> Functions that return a different number of values are slower.
> 
> Does this mean I'm better off returning (cons a b) than (values a b)?
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20150106/684af785/attachment.html>

Posted on the users mailing list.