Where is this sequence->list function of which you speak?

Did you mean the stream->list function, which despite its name,
actually behaves like you'd expect a function called sequence->list
function to behave?

On Fri, Apr 15, 2011 at 12:30 PM, Jay McCarthy <jay.mccar...@gmail.com> wrote:
> I thought of something else you can do
>
> (sequence->list
>  (in-generator
>  (for ([e (in-list l)])
>   (if (f e)
>       (if ...
>          (begin (yield 1) (yield 2))
>          (yield 3))
>       (void)))))
>
> I've done that a few times
>

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

Reply via email to