[plt-scheme] passing multiple "values" between functions

Jakub Piotr Cłapa jpc-ml at zenburn.net
Mon Apr 6 04:24:15 EDT 2009


On 4/6/09 9:23 AM, Martin DeMello wrote:
> that there is no "values" object that you can pass around till you're
> ready to unpack it. Do values offer any advantage over using lists and
> let-match?

AFAIK returning multiple values does not require allocation (no consing) 
and destructuring (the values go straight to the bindings).

-- 
regards,
Jakub Piotr Cłapa


More information about the plt-scheme mailing list