> From: Bas van Dijk <v.dijk....@gmail.com>
>
> On Mon, Nov 30, 2009 at 6:22 AM, John Millikin <jmilli...@gmail.com> wrote:
>> ...I've considered two possible error handling modes...
>
> Regarding parsing, there's a third option: iteratees[1]. See [2] for a
> motivation and description of iteratees.
>

I think it's interesting to note that this works with iteratees
because they essentially do exactly what Malcolm suggested.  That is,
when an error occurs, it is referenced in the internal state of the
iteratee, and processing is aborted.

Iteratees are strict, but they allow for many of the same benefits of
laziness, and can work well for large data sets.

John
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to