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