HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

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