HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecassava-megaparsec-2.1.1Haskell2010

Data.Csv.Parser.Megaparsec.Internals

  • 2 types
  • 10 values
newtypenewtype ConversionError
#

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

Instances6Eq, Data, Ord, Read, Show, ShowErrorComponent
valuerecord
  1. :: Word8

    Field delimiter

  2. -> (Record -> Parser a)

    How to “parse” record to get the data of interest

  3. -> Parser a
#

Parse a record, not including the terminating line separator. The terminating line separate is not included as the last record in a CSV file is allowed to not have a terminating line separator.

valuefield :: Word8 -> Parser Field
#

Parse a field. The field may be in either the escaped or non-escaped format. The returned value is unescaped.