A fast Haskell library for parsing ByteStrings
Latest commit 36b2adc Mar 2, 2016 @hvr hvr committed with bgamari Make code future proof by adding MonadFail/Semigroup instances
This patch makes the code future proof under the MonadFail and Semigroup
proposals by adding instances in a CPP-avoiding way.

Moreover, Monad instance definitions are refactored in a canonical form.

With this patch, attoparsec is warning free with GHC 8.0 under

  -Wall -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances

(Compilation of attorparsec with GHCs back till 7.0.4 is warning-free as well)


Welcome to attoparsec

attoparsec is a fast Haskell parser combinator library, aimed particularly at dealing efficiently with network protocols and complicated text/binary file formats.

Join in!

I'm happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://github.com/bos/attoparsec.git


This library is written and maintained by Bryan O'Sullivan, bos@serpentine.com.