quiver-cell-1.0.0: Quiver combinators for cellular data processing

Copyright© 2015 Patryk Zadarnowski <pat@jantar.org>
LicenseBSD3
Maintainerpat@jantar.org
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Control.Quiver.Cell

Description

Quiver processors converting between cellular and traditional tabular data.

Synopsis

Documentation

toRows :: Monoid a => SP (Cell a) [a] f e 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 e 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. Empty input rows are ignored.