[Haskell-cafe] ANNOUNCE: enumerator 0.4.8

Antoine Latter aslatter at gmail.com
Wed Mar 30 02:03:01 CEST 2011


On Tue, Mar 29, 2011 at 6:15 PM, Ertugrul Soeylemez <es at ertes.de> wrote:
> Hello John,
>
> Sorry that I'm late.  And honestly one day for request submissions is a
> bit narrow.
>
> I have a request, too:  Right now it is difficult to compose
> enumeratees.  An equivalent of (.) for enumeratees would be great.  So
> instead of:
>
>    joinI $ e1 $$ joinI $ e2 $$ iter
>
> one could write
>
>    let e = e1 .= e2 in e =$ iter
>
> I would appreciate a 0.4.10 with such a composition operator.
>
>
> Greets,
> Ertugrul
>

It looks like we can't quite fit Enumeratee into the Category
typeclass (without newtypes, at least). That's a shame.

Antoine



More information about the Haskell-Cafe mailing list