HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulecassava-megaparsec-2.1.1Haskell2010

Data.Csv.Parser.Megaparsec.Internals

Synopsis
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.