pandoc-3.10: Conversion between markup formats

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

Definitions and conversion functions for an intermediate `Table` and related types, which annotates the existing Pandoc `Table` types with additional inferred information. For use in writers that need to know the details of columns that cells span, row numbers, and the cells that are in the row head.

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.

fromTable :: Table -> (Attr, Caption, [ColSpec], TableHead, [TableBody], TableFoot) Source #

Convert an annotated `Table` to a Pandoc `Table`. This is the inverse of `toTable` on well-formed tables (i.e. tables satisfying the guarantees of `table`).

data Table Source #

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`.

Constructors

Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot |

#### Instances

Instances details

Data Table Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Table -> c Table Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Table Source #

toConstr :: Table -> Constr Source #

dataTypeOf :: Table -> DataType Source #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Table) Source #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Table) Source #

gmapT :: (forall b. Data b => b -> b) -> Table -> Table Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Table -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Table -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Table -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Table -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Table -> m Table Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Table -> m Table Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Table -> m Table Source #

Generic Table Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep Table |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep Table = D1 ('MetaData "Table" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" 'False) (C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ColSpec]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableHead) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableBody]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableFoot)))))

Methods

from :: Table -> Rep Table x Source #

to :: Rep Table x -> Table Source #

Read Table Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS Table Source # readList :: ReadS [Table] Source # readPrec :: ReadPrec Table Source # readListPrec :: ReadPrec [Table] Source #
Show Table Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> Table -> ShowS Source # show :: Table -> String Source # showList :: [Table] -> ShowS Source #
Eq Table Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: Table -> Table -> Bool Source # (/=) :: Table -> Table -> Bool Source #
Ord Table Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods compare :: Table -> Table -> Ordering Source # (<) :: Table -> Table -> Bool Source # (<=) :: Table -> Table -> Bool Source # (>) :: Table -> Table -> Bool Source # (>=) :: Table -> Table -> Bool Source # max :: Table -> Table -> Table Source # min :: Table -> Table -> Table Source #
type Rep Table Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep Table = D1 ('MetaData "Table" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" 'False) (C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ColSpec]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableHead) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableBody]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableFoot)))))

data TableHead Source #

An annotated table head, corresponding to a Pandoc `TableHead` and the HTML `<thead>` element.

Constructors

TableHead Attr [HeaderRow] |

#### Instances

Instances details

Data TableHead Source # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep TableHead |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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])))

Methods

from :: TableHead -> Rep TableHead x Source #

to :: Rep TableHead x -> TableHead Source #

Read TableHead Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS TableHead Source # readList :: ReadS [TableHead] Source # readPrec :: ReadPrec TableHead Source # readListPrec :: ReadPrec [TableHead] Source #
Show TableHead Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> TableHead -> ShowS Source # show :: TableHead -> String Source # showList :: [TableHead] -> ShowS Source #
Eq TableHead Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: TableHead -> TableHead -> Bool Source # (/=) :: TableHead -> TableHead -> Bool Source #
Ord TableHead Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Methods

compare :: TableHead -> TableHead -> Ordering Source #

(<) :: TableHead -> TableHead -> Bool Source #

(<=) :: TableHead -> TableHead -> Bool Source #

(>) :: TableHead -> TableHead -> Bool Source #

(>=) :: TableHead -> TableHead -> Bool Source #

max :: TableHead -> TableHead -> TableHead Source #

min :: TableHead -> TableHead -> TableHead Source #

Walkable a Cell => Walkable a TableHead Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods walk :: (a -> a) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => (a -> m a) -> TableHead -> m TableHead Source # query :: Monoid c => (a -> c) -> TableHead -> c Source #
type Rep TableHead Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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])))

data TableBody Source #

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

Instances details

Data TableBody Source # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep TableBody |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep TableBody = D1 ('MetaData "TableBody" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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]))))

Methods

from :: TableBody -> Rep TableBody x Source #

to :: Rep TableBody x -> TableBody Source #

Read TableBody Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS TableBody Source # readList :: ReadS [TableBody] Source # readPrec :: ReadPrec TableBody Source # readListPrec :: ReadPrec [TableBody] Source #
Show TableBody Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> TableBody -> ShowS Source # show :: TableBody -> String Source # showList :: [TableBody] -> ShowS Source #
Eq TableBody Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: TableBody -> TableBody -> Bool Source # (/=) :: TableBody -> TableBody -> Bool Source #
Ord TableBody Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Methods

compare :: TableBody -> TableBody -> Ordering Source #

(<) :: TableBody -> TableBody -> Bool Source #

(<=) :: TableBody -> TableBody -> Bool Source #

(>) :: TableBody -> TableBody -> Bool Source #

(>=) :: TableBody -> TableBody -> Bool Source #

max :: TableBody -> TableBody -> TableBody Source #

min :: TableBody -> TableBody -> TableBody Source #

type Rep TableBody Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep TableBody = D1 ('MetaData "TableBody" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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]))))

data TableFoot Source #

An annotated table foot, corresponding to a Pandoc `TableFoot` and the HTML `<tfoot>` element.

Constructors

TableFoot Attr [HeaderRow] |

#### Instances

Instances details

Data TableFoot Source # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep TableFoot |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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])))

Methods

from :: TableFoot -> Rep TableFoot x Source #

to :: Rep TableFoot x -> TableFoot Source #

Read TableFoot Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS TableFoot Source # readList :: ReadS [TableFoot] Source # readPrec :: ReadPrec TableFoot Source # readListPrec :: ReadPrec [TableFoot] Source #
Show TableFoot Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> TableFoot -> ShowS Source # show :: TableFoot -> String Source # showList :: [TableFoot] -> ShowS Source #
Eq TableFoot Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: TableFoot -> TableFoot -> Bool Source # (/=) :: TableFoot -> TableFoot -> Bool Source #
Ord TableFoot Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Methods

compare :: TableFoot -> TableFoot -> Ordering Source #

(<) :: TableFoot -> TableFoot -> Bool Source #

(<=) :: TableFoot -> TableFoot -> Bool Source #

(>) :: TableFoot -> TableFoot -> Bool Source #

(>=) :: TableFoot -> TableFoot -> Bool Source #

max :: TableFoot -> TableFoot -> TableFoot Source #

min :: TableFoot -> TableFoot -> TableFoot Source #

type Rep TableFoot Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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])))

data HeaderRow Source #

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.

Constructors

HeaderRow Attr RowNumber [Cell] |

#### Instances

Instances details

Data HeaderRow Source # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep HeaderRow |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep HeaderRow = D1 ('MetaData "HeaderRow" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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]))))

Methods

from :: HeaderRow -> Rep HeaderRow x Source #

to :: Rep HeaderRow x -> HeaderRow Source #

Read HeaderRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS HeaderRow Source # readList :: ReadS [HeaderRow] Source # readPrec :: ReadPrec HeaderRow Source # readListPrec :: ReadPrec [HeaderRow] Source #
Show HeaderRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> HeaderRow -> ShowS Source # show :: HeaderRow -> String Source # showList :: [HeaderRow] -> ShowS Source #
Eq HeaderRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: HeaderRow -> HeaderRow -> Bool Source # (/=) :: HeaderRow -> HeaderRow -> Bool Source #
Ord HeaderRow Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Methods

compare :: HeaderRow -> HeaderRow -> Ordering Source #

(<) :: HeaderRow -> HeaderRow -> Bool Source #

(<=) :: HeaderRow -> HeaderRow -> Bool Source #

(>) :: HeaderRow -> HeaderRow -> Bool Source #

(>=) :: HeaderRow -> HeaderRow -> Bool Source #

max :: HeaderRow -> HeaderRow -> HeaderRow Source #

min :: HeaderRow -> HeaderRow -> HeaderRow Source #

Walkable a Cell => Walkable a HeaderRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods walk :: (a -> a) -> HeaderRow -> HeaderRow Source # walkM :: (Monad m, Applicative m, Functor m) => (a -> m a) -> HeaderRow -> m HeaderRow Source # query :: Monoid c => (a -> c) -> HeaderRow -> c Source #
type Rep HeaderRow Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep HeaderRow = D1 ('MetaData "HeaderRow" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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]))))

data BodyRow Source #

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.

Constructors

BodyRow Attr RowNumber RowHead RowBody |

#### Instances

Instances details

Data BodyRow Source # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep BodyRow |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep BodyRow = D1 ('MetaData "BodyRow" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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))))

Methods

from :: BodyRow -> Rep BodyRow x Source #

to :: Rep BodyRow x -> BodyRow Source #

Read BodyRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS BodyRow Source # readList :: ReadS [BodyRow] Source # readPrec :: ReadPrec BodyRow Source # readListPrec :: ReadPrec [BodyRow] Source #
Show BodyRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> BodyRow -> ShowS Source # show :: BodyRow -> String Source # showList :: [BodyRow] -> ShowS Source #
Eq BodyRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: BodyRow -> BodyRow -> Bool Source # (/=) :: BodyRow -> BodyRow -> Bool Source #
Ord BodyRow Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods compare :: BodyRow -> BodyRow -> Ordering Source # (<) :: BodyRow -> BodyRow -> Bool Source # (<=) :: BodyRow -> BodyRow -> Bool Source # (>) :: BodyRow -> BodyRow -> Bool Source # (>=) :: BodyRow -> BodyRow -> Bool Source # max :: BodyRow -> BodyRow -> BodyRow Source # min :: BodyRow -> BodyRow -> BodyRow Source #
type Rep BodyRow Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep BodyRow = D1 ('MetaData "BodyRow" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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))))

newtype RowNumber Source #

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`.

Constructors

RowNumber Int |

#### Instances

Instances details

Data RowNumber Source # |

Instance details

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 # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep RowNumber |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable type Rep RowNumber = D1 ('MetaData "RowNumber" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" 'True) (C1 ('MetaCons "RowNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: RowNumber -> Rep RowNumber x Source #

to :: Rep RowNumber x -> RowNumber Source #

Num RowNumber Source # |
Instance details 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 # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS RowNumber Source # readList :: ReadS [RowNumber] Source # readPrec :: ReadPrec RowNumber Source # readListPrec :: ReadPrec [RowNumber] Source #
Show RowNumber Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> RowNumber -> ShowS Source # show :: RowNumber -> String Source # showList :: [RowNumber] -> ShowS Source #
Eq RowNumber Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: RowNumber -> RowNumber -> Bool Source # (/=) :: RowNumber -> RowNumber -> Bool Source #
Ord RowNumber Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Methods

compare :: RowNumber -> RowNumber -> Ordering Source #

(<) :: RowNumber -> RowNumber -> Bool Source #

(<=) :: RowNumber -> RowNumber -> Bool Source #

(>) :: RowNumber -> RowNumber -> Bool Source #

(>=) :: RowNumber -> RowNumber -> Bool Source #

max :: RowNumber -> RowNumber -> RowNumber Source #

min :: RowNumber -> RowNumber -> RowNumber Source #

type Rep RowNumber Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable type Rep RowNumber = D1 ('MetaData "RowNumber" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" 'True) (C1 ('MetaCons "RowNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

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.

data Cell Source #

An annotated table cell, wrapping a Pandoc `Cell` with its `ColNumber` and the `ColSpec` data for the columns that the cell spans.

Constructors

Cell (NonEmpty ColSpec) ColNumber Cell |

#### Instances

Instances details

Data Cell Source # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep Cell |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep Cell = D1 ('MetaData "Cell" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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))))

Methods

from :: Cell -> Rep Cell x Source #

to :: Rep Cell x -> Cell Source #

Read Cell Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS Cell Source # readList :: ReadS [Cell] Source # readPrec :: ReadPrec Cell Source # readListPrec :: ReadPrec [Cell] Source #
Show Cell Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> Cell -> ShowS Source # show :: Cell -> String Source # showList :: [Cell] -> ShowS Source #
Eq Cell Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: Cell -> Cell -> Bool Source # (/=) :: Cell -> Cell -> Bool Source #
Ord Cell Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods compare :: Cell -> Cell -> Ordering Source # (<) :: Cell -> Cell -> Bool Source # (<=) :: Cell -> Cell -> Bool Source # (>) :: Cell -> Cell -> Bool Source # (>=) :: Cell -> Cell -> Bool Source # max :: Cell -> Cell -> Cell Source # min :: Cell -> Cell -> Cell Source #
Walkable a Cell => Walkable a Cell Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods walk :: (a -> a) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => (a -> m a) -> Cell -> m Cell Source # query :: Monoid c => (a -> c) -> Cell -> c Source #
type Rep Cell Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

type Rep Cell = D1 ('MetaData "Cell" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" '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))))

newtype ColNumber Source #

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.

Constructors

ColNumber Int |

#### Instances

Instances details

Data ColNumber Source # |

Instance details

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 # |

Instance details

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 # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Associated Types

type Rep ColNumber |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable type Rep ColNumber = D1 ('MetaData "ColNumber" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" 'True) (C1 ('MetaCons "ColNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: ColNumber -> Rep ColNumber x Source #

to :: Rep ColNumber x -> ColNumber Source #

Num ColNumber Source # |
Instance details 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 # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods readsPrec :: Int -> ReadS ColNumber Source # readList :: ReadS [ColNumber] Source # readPrec :: ReadPrec ColNumber Source # readListPrec :: ReadPrec [ColNumber] Source #
Show ColNumber Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods showsPrec :: Int -> ColNumber -> ShowS Source # show :: ColNumber -> String Source # showList :: [ColNumber] -> ShowS Source #
Eq ColNumber Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable Methods (==) :: ColNumber -> ColNumber -> Bool Source # (/=) :: ColNumber -> ColNumber -> Bool Source #
Ord ColNumber Source # |

Instance details

Defined in Text.Pandoc.Writers.AnnotatedTable

Methods

compare :: ColNumber -> ColNumber -> Ordering Source #

(<) :: ColNumber -> ColNumber -> Bool Source #

(<=) :: ColNumber -> ColNumber -> Bool Source #

(>) :: ColNumber -> ColNumber -> Bool Source #

(>=) :: ColNumber -> ColNumber -> Bool Source #

max :: ColNumber -> ColNumber -> ColNumber Source #

min :: ColNumber -> ColNumber -> ColNumber Source #

type Rep ColNumber Source # |
Instance details Defined in Text.Pandoc.Writers.AnnotatedTable type Rep ColNumber = D1 ('MetaData "ColNumber" "Text.Pandoc.Writers.AnnotatedTable" "pandoc-3.10-HDtgLHV36vi9t4gfnv8HSy" 'True) (C1 ('MetaCons "ColNumber" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))