| Copyright | Copyright 2020 Christian Despres |
|---|---|
| License | GNU GPL, version 2 or above |
| Maintainer | Christian Despres <christian.j.j.despres@gmail.com> |
| Stability | alpha |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Text.Pandoc.Writers.AnnotatedTable
Description
Synopsis
- toTable :: Attr -> Caption -> [ColSpec] -> TableHead -> [TableBody] -> TableFoot -> Table
- fromTable :: Table -> (Attr, Caption, [ColSpec], TableHead, [TableBody], TableFoot)
- data Table = Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot
- data TableHead = TableHead Attr [HeaderRow]
- data TableBody = TableBody Attr RowHeadColumns [HeaderRow] [BodyRow]
- data TableFoot = TableFoot Attr [HeaderRow]
- data HeaderRow = HeaderRow Attr RowNumber [Cell]
- data BodyRow = BodyRow Attr RowNumber RowHead RowBody
- newtype RowNumber = RowNumber Int
- type RowHead = [Cell]
- type RowBody = [Cell]
- data Cell = Cell (NonEmpty ColSpec) ColNumber Cell
- newtype ColNumber = ColNumber Int
Documentation
toTable :: Attr -> Caption -> [ColSpec] -> TableHead -> [TableBody] -> TableFoot -> Table Source #
Convert a Pandoc Table to an annotated Table. This function
also performs the same normalization that the table builder
does (fixing overlapping cells, cells that protrude out of their
table section, and so on). If the input table happens to satisfy
the conditions that table guarantees, then the resulting
Table will be identical, save for the addition of the inferred
table information.
An annotated table type, corresponding to the Pandoc Table
constructor and the HTML <table> element. It records the data
of the columns that cells span, the cells in the row head, the row
numbers of rows, and the column numbers of cells, in addition to
the data in a Table. The type itself does not enforce any
guarantees about the consistency of this data. Use toTable to
produce a Table from a Pandoc Table.
Instances
An annotated table head, corresponding to a Pandoc TableHead
and the HTML <thead> element.
Instances
| Data TableHead Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableHead -> c TableHead Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableHead Source # toConstr :: TableHead -> Constr Source # dataTypeOf :: TableHead -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableHead) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableHead) Source # gmapT :: (forall b. Data b => b -> b) -> TableHead -> TableHead Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableHead -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableHead -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TableHead -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TableHead -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableHead -> m TableHead Source # | |||||
| Generic TableHead Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Read TableHead Source # | |||||
| Show TableHead Source # | |||||
| Eq TableHead Source # | |||||
| Ord TableHead Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| Walkable a Cell => Walkable a TableHead Source # | |||||
| type Rep TableHead Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.9.0.2-B7vMUcu6cuuDlo8nBNUEAc" 'False) (C1 ('MetaCons "TableHead" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [HeaderRow]))) | |||||
An annotated table body, with an intermediate head and body,
corresponding to a Pandoc TableBody and the HTML <tbody>
element.
Constructors
| TableBody Attr RowHeadColumns [HeaderRow] [BodyRow] |
Instances
| Data TableBody Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableBody -> c TableBody Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableBody Source # toConstr :: TableBody -> Constr Source # dataTypeOf :: TableBody -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableBody) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableBody) Source # gmapT :: (forall b. Data b => b -> b) -> TableBody -> TableBody Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableBody -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableBody -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TableBody -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TableBody -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableBody -> m TableBody Source # | |||||
| Generic TableBody Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Read TableBody Source # | |||||
| Show TableBody Source # | |||||
| Eq TableBody Source # | |||||
| Ord TableBody Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| type Rep TableBody Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable type Rep TableBody = D1 ('MetaData "TableBody" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.9.0.2-B7vMUcu6cuuDlo8nBNUEAc" 'False) (C1 ('MetaCons "TableBody" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RowHeadColumns)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [HeaderRow]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BodyRow])))) | |||||
An annotated table foot, corresponding to a Pandoc TableFoot
and the HTML <tfoot> element.
Instances
| Data TableFoot Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableFoot -> c TableFoot Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableFoot Source # toConstr :: TableFoot -> Constr Source # dataTypeOf :: TableFoot -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableFoot) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableFoot) Source # gmapT :: (forall b. Data b => b -> b) -> TableFoot -> TableFoot Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableFoot -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableFoot -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TableFoot -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TableFoot -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableFoot -> m TableFoot Source # | |||||
| Generic TableFoot Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Read TableFoot Source # | |||||
| Show TableFoot Source # | |||||
| Eq TableFoot Source # | |||||
| Ord TableFoot Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| type Rep TableFoot Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.9.0.2-B7vMUcu6cuuDlo8nBNUEAc" 'False) (C1 ('MetaCons "TableFoot" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [HeaderRow]))) | |||||
An annotated header row, corresponding to a Pandoc Row and
the HTML <tr> element, and also recording the row number of the
row. All the cells in a HeaderRow are header (<th>) cells.
Instances
| Data HeaderRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HeaderRow -> c HeaderRow Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HeaderRow Source # toConstr :: HeaderRow -> Constr Source # dataTypeOf :: HeaderRow -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HeaderRow) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HeaderRow) Source # gmapT :: (forall b. Data b => b -> b) -> HeaderRow -> HeaderRow Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HeaderRow -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HeaderRow -> r Source # gmapQ :: (forall d. Data d => d -> u) -> HeaderRow -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> HeaderRow -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> HeaderRow -> m HeaderRow Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HeaderRow -> m HeaderRow Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HeaderRow -> m HeaderRow Source # | |||||
| Generic HeaderRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Read HeaderRow Source # | |||||
| Show HeaderRow Source # | |||||
| Eq HeaderRow Source # | |||||
| Ord HeaderRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| Walkable a Cell => Walkable a HeaderRow Source # | |||||
| type Rep HeaderRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable type Rep HeaderRow = D1 ('MetaData "HeaderRow" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.9.0.2-B7vMUcu6cuuDlo8nBNUEAc" 'False) (C1 ('MetaCons "HeaderRow" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RowNumber) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Cell])))) | |||||
An annotated body row, corresponding to a Pandoc Row and the
HTML <tr> element, and also recording its row number and
separating the row head cells from the row body cells.
Instances
| Data BodyRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BodyRow -> c BodyRow Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BodyRow Source # toConstr :: BodyRow -> Constr Source # dataTypeOf :: BodyRow -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BodyRow) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BodyRow) Source # gmapT :: (forall b. Data b => b -> b) -> BodyRow -> BodyRow Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BodyRow -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BodyRow -> r Source # gmapQ :: (forall d. Data d => d -> u) -> BodyRow -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> BodyRow -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BodyRow -> m BodyRow Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BodyRow -> m BodyRow Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BodyRow -> m BodyRow Source # | |||||
| Generic BodyRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Read BodyRow Source # | |||||
| Show BodyRow Source # | |||||
| Eq BodyRow Source # | |||||
| Ord BodyRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| type Rep BodyRow Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable type Rep BodyRow = D1 ('MetaData "BodyRow" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.9.0.2-B7vMUcu6cuuDlo8nBNUEAc" 'False) (C1 ('MetaCons "BodyRow" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RowNumber)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RowHead) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RowBody)))) | |||||
The row number of a row. Note that rows are numbered continuously
from zero from the start of the table, so the first row in a table
body, for instance, may have a large RowNumber.
Instances
| Data RowNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RowNumber -> c RowNumber Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RowNumber Source # toConstr :: RowNumber -> Constr Source # dataTypeOf :: RowNumber -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RowNumber) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RowNumber) Source # gmapT :: (forall b. Data b => b -> b) -> RowNumber -> RowNumber Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RowNumber -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RowNumber -> r Source # gmapQ :: (forall d. Data d => d -> u) -> RowNumber -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> RowNumber -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RowNumber -> m RowNumber Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RowNumber -> m RowNumber Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RowNumber -> m RowNumber Source # | |||||
| Enum RowNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods succ :: RowNumber -> RowNumber Source # pred :: RowNumber -> RowNumber Source # toEnum :: Int -> RowNumber Source # fromEnum :: RowNumber -> Int Source # enumFrom :: RowNumber -> [RowNumber] Source # enumFromThen :: RowNumber -> RowNumber -> [RowNumber] Source # enumFromTo :: RowNumber -> RowNumber -> [RowNumber] Source # enumFromThenTo :: RowNumber -> RowNumber -> RowNumber -> [RowNumber] Source # | |||||
| Generic RowNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Num RowNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods (+) :: RowNumber -> RowNumber -> RowNumber Source # (-) :: RowNumber -> RowNumber -> RowNumber Source # (*) :: RowNumber -> RowNumber -> RowNumber Source # negate :: RowNumber -> RowNumber Source # abs :: RowNumber -> RowNumber Source # signum :: RowNumber -> RowNumber Source # fromInteger :: Integer -> RowNumber Source # | |||||
| Read RowNumber Source # | |||||
| Show RowNumber Source # | |||||
| Eq RowNumber Source # | |||||
| Ord RowNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| type Rep RowNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
type RowHead = [Cell] Source #
The head of a body row; the portion of the row lying in the stub
of the TableBody. Its cells correspond to HTML <th> cells.
type RowBody = [Cell] Source #
The body of a body row; the portion of the row lying after the
stub of the TableBody. Its cells correspond to HTML <td>
cells.
An annotated table cell, wrapping a Pandoc Cell with its
ColNumber and the ColSpec data for the columns that the cell
spans.
Instances
| Data Cell Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cell -> c Cell Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cell Source # toConstr :: Cell -> Constr Source # dataTypeOf :: Cell -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cell) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cell) Source # gmapT :: (forall b. Data b => b -> b) -> Cell -> Cell Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Cell -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Cell -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cell -> m Cell Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell Source # | |||||
| Generic Cell Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Read Cell Source # | |||||
| Show Cell Source # | |||||
| Eq Cell Source # | |||||
| Ord Cell Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| Walkable a Cell => Walkable a Cell Source # | |||||
| type Rep Cell Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable type Rep Cell = D1 ('MetaData "Cell" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.9.0.2-B7vMUcu6cuuDlo8nBNUEAc" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty ColSpec)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ColNumber) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Cell)))) | |||||
The column number of a cell, meaning the column number of the first column that the cell spans, if the table were laid on a grid. Columns are numbered starting from zero.
Instances
| Data ColNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColNumber -> c ColNumber Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColNumber Source # toConstr :: ColNumber -> Constr Source # dataTypeOf :: ColNumber -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColNumber) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColNumber) Source # gmapT :: (forall b. Data b => b -> b) -> ColNumber -> ColNumber Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColNumber -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColNumber -> r Source # gmapQ :: (forall d. Data d => d -> u) -> ColNumber -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> ColNumber -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColNumber -> m ColNumber Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColNumber -> m ColNumber Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColNumber -> m ColNumber Source # | |||||
| Enum ColNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods succ :: ColNumber -> ColNumber Source # pred :: ColNumber -> ColNumber Source # toEnum :: Int -> ColNumber Source # fromEnum :: ColNumber -> Int Source # enumFrom :: ColNumber -> [ColNumber] Source # enumFromThen :: ColNumber -> ColNumber -> [ColNumber] Source # enumFromTo :: ColNumber -> ColNumber -> [ColNumber] Source # enumFromThenTo :: ColNumber -> ColNumber -> ColNumber -> [ColNumber] Source # | |||||
| Generic ColNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Associated Types
| |||||
| Num ColNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable Methods (+) :: ColNumber -> ColNumber -> ColNumber Source # (-) :: ColNumber -> ColNumber -> ColNumber Source # (*) :: ColNumber -> ColNumber -> ColNumber Source # negate :: ColNumber -> ColNumber Source # abs :: ColNumber -> ColNumber Source # signum :: ColNumber -> ColNumber Source # fromInteger :: Integer -> ColNumber Source # | |||||
| Read ColNumber Source # | |||||
| Show ColNumber Source # | |||||
| Eq ColNumber Source # | |||||
| Ord ColNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||
| type Rep ColNumber Source # | |||||
Defined in Text.Pandoc.Writers.AnnotatedTable | |||||