Copyright | © 2022 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <albert@zeitkraut.de> |
Safe Haskell | None |
Language | Haskell2010 |
Parse reStructuredText-style grid tables.
Synopsis
- module Text.GridTable.ArrayTable
- gridTable :: Stream s m Char => ParsecT s u m (ArrayTable [Text])
- data Cell a = Cell {
- cellContent :: a
- cellRowSpan :: RowSpan
- cellColSpan :: ColSpan
- rows :: ArrayTable a -> [[Cell a]]
Documentation
module Text.GridTable.ArrayTable
Parse from character stream
List-based representation
Raw grid table cell
Cell | |
|
rows :: ArrayTable a -> [[Cell a]] Source #
Returns the rows of a grid table as lists of simple cells.