@hackage lathe0.1.0.0

Pure incremental byte parser.

lathe Hackage

Pure incremental byte parser.

Spiritually a successor to binary's Get monad, with several changes in favor of power:

  • Does not compress input internally during processing.

    Reading a LazyByteString always reuses input chunks, regardless of parser state.

  • Error type is polymorphic.

    Helper parsers get to fail with errors that can be pattern matched on, and higher-level libraries are no longer restricted to only Strings.

  • Properly supports incremental output.

    Higher-level libraries can properly support streaming data alongside their regular decoding functions.