HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Synopsis
newtypenewtype ConversionError

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

Instances6Eq, Data, Ord, Read, Show, ShowErrorComponent