pipes-key-value-csv-0.4.0.3: Streaming processing of CSV files preceded by key-value pairs.

Copyright(c) Marcin Mrotek 2015
LicenseBSD3
Maintainermarcin.jan.mrotek@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Pipes.KeyValueCsv.Csv

Description

Parsing the main CSV body.

Synopsis

Documentation

parseCsv :: forall (m :: * -> *) (f :: k -> *) (rs :: [k]) (r :: *). (Given Delimiter, Monad m) => CsvOptions m f rs -> Lines m r -> Producer (Rec (WithCsvError :. f) rs) m r Source #

Parse a stream of lines.

newtype WrapParser (a :: *) (m :: * -> *) (r :: *) Source #

As Parser is a type synonym, it can't be partially applied as an argument for Rec.

Constructors

WrapParser 

Fields

wrapParser :: forall m f r. Functor m => Parser Text m (Either String (f r)) -> CellParser m f r Source #

Wrap a parser to use it as a type constructor for Rec.