Copyright | (c) Marcin Mrotek 2015 |
---|---|
License | BSD3 |
Maintainer | marcin.jan.mrotek@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Parsing the main CSV body.
- parseCsv :: forall m f rs r. (Given Delimiter, Monad m) => CsvOptions m f rs -> Lines m r -> Producer (Rec (WithCsvError :. f) rs) m r
- newtype WrapParser a m r = WrapParser {
- unwrapParser :: Parser a m r
- wrapParser :: forall m f r. Functor m => Parser Text m (Either String (f r)) -> CellParser m f r
Documentation
parseCsv :: forall m f rs 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
.
WrapParser | |
|
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
.