data-cell-1.0.0.2: Generic cellular data representation library

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

Data.Cell

Description

In this structure, each cell of data is annotated with information about its relation to the following cell in the stream, namely end of cell, end of row and end of table conditions. In addition, in order to achieve truly-constant memory usage irrespective of individual cell size, we allow individual cells to be subdivided further into parts, as indicated by the end of part condition. Logically, this subdivision into parts is supposed to be purely operational and have no semantic significance, similarly to subdivision of lazy bytestrings into chunks.

Synopsis

Documentation

data Cell a Source

Type used to represent individual data cells.

Constructors

Cell a CellDelimiter 

Instances

Functor Cell Source 
Eq a => Eq (Cell a) Source 
Ord a => Ord (Cell a) Source 
Show a => Show (Cell a) Source 

data CellDelimiter Source

Cell delimiter

Constructors

EOP

end of a partial cell content

EOC

end of a complete data cell

EOR

end of a complete row of cells

EOT

end of an entire table