[Haskell] Re: [Haskell-cafe] ANNOUNCE: enumerator, an alternative
jmillikin at gmail.com
Sat Aug 21 16:36:08 EDT 2010
On Sat, Aug 21, 2010 at 12:44, Magnus Therning <magnus at therning.org> wrote:
> As an aside, has anyone written the code necessary to convert a parser, such
> as e.g. attoparsec, into an enumerator-iteratee?
This sort of conversion is trivial. For an example, I've uploaded the
attoparsec-enumerator package at <
http://hackage.haskell.org/package/attoparsec-enumerator > --
iterParser is about 20 lines, excluding the module header and imports.
More information about the Haskell-Cafe