[Haskell-cafe] Iteratee: manyToOne

Conrad Parker conrad at metadecks.org
Fri Apr 29 04:48:41 CEST 2011


On 28 April 2011 23:39, Dmitry Olshansky <olshanskydr at gmail.com> wrote:
> Hello,
>
> does somewhere exist function with type like this - manyToOne :: [Iteratee a
> m b] -> Iteratee a m [b] ?
>
> I.e. I need to process one input through many Iteratees indepentently in
> constant space and collect results.
>
> It is similar by type with sequenceM but as far as I understand sequenceM
> won't use the same input for all Iteratees.
>

Hi,

this is also like the enumSequence Maciej Wos proposed:

http://www.haskell.org/pipermail/haskell-cafe/2011-January/088319.html

cheers,

Conrad.



More information about the Haskell-Cafe mailing list