Copyright | (c) Marcin Mrotek 2015 |
---|---|
License | BSD3 |
Maintainer | marcin.jan.mrotek@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Types common to both CSV and key-value part of the library, and reexports of abstract types.
- data Line m r
- data Lines m r
- data Cell m r
- data Cells m r
- data Delimiter
- newtype WrapParser a m r = WrapParser {
- unwrapParser :: Parser a m r
- type CellParser m f = WrapParser Text m :. (Either String :. f)
Documentation
A single line. Internally, a stream of text.
A stream of lines.
A single cell. Internally, a stream of text.
A stream of cells.
newtype WrapParser a m r Source #
As Parser
is a type synonym, it can't be partially applied as an argument for Rec
.
WrapParser | |
|
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.