On Sun, Oct 23, 2011 at 23:29, Jens Axel Søgaard <jensa...@soegaard.net> wrote:

> Would it make sense for let-values to support the following?
> (let-values loop ([(first next) (sequence-generate* '(a b c))])
>   (when first
>     (display first) (newline)
>     (call-with-values next loop)))

I wished for this feature many times, but the annoyance of not having it
has always been too small to force me to try and generalize the macro.

I have no definite opinion whether it's worth the addition.

Cheers
P.

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to