[racket] Looping and let-values
On Sun, Oct 23, 2011 at 23:29, Jens Axel Søgaard <jensaxel at 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.