That feels much more natural, thank you. (The pre-Pipes implementation of 
my algorithm did use a queue similar to that, except that I squashed it 
into the StateT layer. I like libraries which encourage good style.)

 but now you no longer have to batch steps N at a time and you can instead 
> emit all elements immediately.
>

I was going to ask whether the batching had any observable effects (other 
than turning my code into muck), but then I noticed that it would be very 
annoying to e.g. conditionally interrupt the streaming in the middle of a 
batch...

-- 
You received this message because you are subscribed to the Google Groups 
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to