very cool

let-values is does what I need


On Thursday, August 18, 2016 at 1:50:18 PM UTC-4, Jens Axel Søgaard wrote:
> No, (list (values 1 2 3)) is not supposed to work.
> Multiple values can be cumbersome to work with.
> In this case you want:
> 
> 
>     (call-with-values (λ () (values 1 2 3)) list)
> 
> 
> Yeah - not pretty.
> 
> 
> Other constructs to learn about:
> 
> 
>    define-values
>    match-values
> 
> 
> /Jens Axel
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to