pipes-key-value-csv-0.1.0.0: 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.Types.Common

Description

Types common to both CSV and key-value part of the library, and reexports of abstract types.

Synopsis

Documentation

data Line m r Source

A single line. Internally, a stream of text.

Instances

data Lines m r Source

A stream of lines.

Instances

data Cell m r Source

A single cell. Internally, a stream of text.

Instances

data Cells m r Source

A stream of cells.

Instances

data Delimiter Source

A wrapped Char that has the explicit puropse of delimiting cells.

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

unwrapParser :: Parser a m r
 

type CellParser m f = WrapParser Text m :. (Either String :. f) Source

Shorthand for a Parser of Text that can return a String error a'la Data.Text.Read.