Copyright | © 2015 Patryk Zadarnowski <pat@jantar.org> |
---|---|
License | BSD3 |
Maintainer | pat@jantar.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Quiver processors converting between cellular and traditional tabular data.
Documentation
toRows :: Monoid a => SP (Cell a) [a] f () Source
A simple Quiver processor that converts a stream of cells into a stream of rows, with each row represented by a non-empty list of cell values.
fromRows :: SP [a] (Cell a) f [a] Source
A simple Quiver processor that converts a stream of rows to a stream of cells,
In this version, the final cell in the table is not marked with EOT
to avoid
the need for row lookahead, delivering the list of any cells that could not
be produced from the final consumed row.
Empty input rows are ignored.