HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecassava-megaparsec-2.1.1Haskell2010

Data.Csv.Parser.Megaparsec

A CSV parser. The parser here is RFC 4180 compliant, with the following extensions:

  • Non-escaped fields may contain any characters except double-quotes, commas (or generally delimiter characters), carriage returns, and newlines.

  • Escaped fields may contain any characters, but double-quotes need to be escaped.

The parser provides better error messages than the parser that comes with Cassava library, while being compatible with the rest of the library.

  • 1 type
  • 4 values
newtypenewtype ConversionError
#

Custom error component for CSV parsing. It allows typed reporting of conversion errors.

Instances6Eq, Data, Ord, Read, Show, ShowErrorComponent