[Haskell-cafe] Either Monad and Laziness

Francesco Mazzoli f at mazzo.li
Wed Sep 12 17:37:03 CEST 2012


At Wed, 12 Sep 2012 12:04:31 -0300,
Eric Velten de Melo wrote:
> It would be really awesome, though, if it were possible to use a
> parser written in Parsec with this, in the spirit of avoiding code
> rewriting and enhancing expressivity and abstraction.

There is <http://hackage.haskell.org/package/attoparsec-conduit> and
<http://hackage.haskell.org/package/attoparsec-enumerator>, which turn
attoparsec parsers into enumerators/conduits, and
<http://hackage.haskell.org/package/attoparsec-parsec>, which is a compatibility
layer between attoaparsec and parsec.  Good luck :).

--
Francesco * Often in error, never in doubt



More information about the Haskell-Cafe mailing list