Done iteratee, typed with CharString to avoid needing to type it ourselves
Error iteratee.
Error iteratee. Differs from Iteratees Error iteratee in that initially this one is in the cont state, so that it can get the remaining input to pass back in the error. This makes it more useful for composition.
Enumeratee that keeps track of input seen, and when an error is encountered, modifies the error message so that it contains the line/column number, and if possible outputs the specific line that the error occured on with a caret pointing to the character that caused the error.
Enumeratee that keeps track of input seen, and when an error is encountered, modifies the error message so that it contains the line/column number, and if possible outputs the specific line that the error occured on with a caret pointing to the character that caused the error.
Useful when using combinators to give meaningful error messages when things fail to parse correctly.
Combinators for parsing using iteratees.
Note that all the combinators that take callbacks execute them in the same thread that invokes the iteratee. This means it is important that none of the callbacks ever block.