About

Metadata

  • Last updated , by OleksiiDivak
  • License BSD-3-Clause
  • Categories Parsers
  • Maintained by: Oleksii Divak <frozenwitness@gmail.com>

  • Lottery factor: 1

Links

Installation

Readme

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.