Version 2 (modified by refold, 5 years ago)



Parsec is designed from scratch as an industrial-strength parser library. It is simple, safe, well documented (on the package homepage), has extensive libraries and good error messages, and is also fast. It is defined as a monad transformer that can be stacked on arbitrary monads, and it is also parametric in the input stream type.

Hackage URL

Latest version


Version shipped with GHC 6.10.2


Note that the 2008.0 release of the Haskell Platform includes parsec version 2, not version 3.

Distributions may also package version 3 if they wish but if they package the platform they must also package version 2. It is not acceptable to package only version 3 while claiming support for the Haskell Platform.

Any decision to move to version 3 will go through the appropriate community discussion process. The intention is not to hold back progress but to get a consistent package collection for the community. If each distro makes its own choice then we get a mess and defeat one of the purposes of the platform.