pandoc-types-1.23.1.2: Types for representing a structured document

Copyright | Copyright (C) 2006-2023 John MacFarlane
License | BSD3
Maintainer | John MacFarlane <jgm@berkeley.edu>
Stability | alpha
Portability | portable
Safe Haskell | None
Language | Haskell2010

Text.Pandoc.Definition

Description

Definition of `Pandoc` data structure for format-neutral representation of documents.

Synopsis

- data Pandoc = Pandoc Meta [Block]
- newtype Meta = Meta {
  - unMeta :: Map Text MetaValue
  }
- data MetaValue
  - = MetaMap (Map Text MetaValue)
  - | MetaList [MetaValue]
  - | MetaBool Bool
  - | MetaString Text
  - | MetaInlines [Inline]
  - | MetaBlocks [Block]
- nullMeta :: Meta
- isNullMeta :: Meta -> Bool
- lookupMeta :: Text -> Meta -> Maybe MetaValue
- docTitle :: Meta -> [Inline]
- docAuthors :: Meta -> [[Inline]]
- docDate :: Meta -> [Inline]
- data Block
  - = Plain [Inline]
  - | Para [Inline]
  - | LineBlock [[Inline]]
  - | CodeBlock Attr Text
  - | RawBlock Format Text
  - | BlockQuote [Block]
  - | OrderedList ListAttributes [[Block]]
  - | BulletList [[Block]]
  - | DefinitionList [([Inline], [[Block]])]
  - | Header Int Attr [Inline]
  - | HorizontalRule
  - | Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot
  - | Figure Attr Caption [Block]
  - | Div Attr [Block]
- pattern SimpleFigure :: Attr -> [Inline] -> Target -> Block
- data Inline
  - = Str Text
  - | Emph [Inline]
  - | Underline [Inline]
  - | Strong [Inline]
  - | Strikeout [Inline]
  - | Superscript [Inline]
  - | Subscript [Inline]
  - | SmallCaps [Inline]
  - | Quoted QuoteType [Inline]
  - | Cite [Citation] [Inline]
  - | Code Attr Text
  - | Space
  - | SoftBreak
  - | LineBreak
  - | Math MathType Text
  - | RawInline Format Text
  - | Link Attr [Inline] Target
  - | Image Attr [Inline] Target
  - | Note [Block]
  - | Span Attr [Inline]
- type ListAttributes = (Int, ListNumberStyle, ListNumberDelim)
- data ListNumberStyle
  - = DefaultStyle
  - | Example
  - | Decimal
  - | LowerRoman
  - | UpperRoman
  - | LowerAlpha
  - | UpperAlpha
- data ListNumberDelim
  - = DefaultDelim
  - | Period
  - | OneParen
  - | TwoParens
- newtype Format = Format Text
- type Attr = (Text, [Text], [(Text, Text)])
- nullAttr :: Attr
- data Caption = Caption (Maybe ShortCaption) [Block]
- type ShortCaption = [Inline]
- newtype RowHeadColumns = RowHeadColumns Int
- data Alignment
  - = AlignLeft
  - | AlignRight
  - | AlignCenter
  - | AlignDefault
- data ColWidth
  - = ColWidth Double
  - | ColWidthDefault
- type ColSpec = (Alignment, ColWidth)
- data Row = Row Attr [Cell]
- data TableHead = TableHead Attr [Row]
- data TableBody = TableBody Attr RowHeadColumns [Row] [Row]
- data TableFoot = TableFoot Attr [Row]
- data Cell = Cell Attr Alignment RowSpan ColSpan [Block]
- newtype RowSpan = RowSpan Int
- newtype ColSpan = ColSpan Int
- data QuoteType
  - = SingleQuote
  - | DoubleQuote
- type Target = (Text, Text)
- data MathType
  - = DisplayMath
  - | InlineMath
- data Citation = Citation {
  - citationId :: Text
  - citationPrefix :: [Inline]
  - citationSuffix :: [Inline]
  - citationMode :: CitationMode
  - citationNoteNum :: Int
  - citationHash :: Int
  }
- data CitationMode
  - = AuthorInText
  - | SuppressAuthor
  - | NormalCitation
- pandocTypesVersion :: Version

# Documentation

data Pandoc Source #

Constructors

Pandoc Meta [Block] |

#### Instances

Instances details

Arbitrary Pandoc Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Pandoc Source # shrink :: Pandoc -> [Pandoc] Source #
FromJSON Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Pandoc Source # parseJSONList :: Value -> Parser [Pandoc] Source # omittedField :: Maybe Pandoc Source #
ToJSON Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Pandoc -> Value Source # toEncoding :: Pandoc -> Encoding Source # toJSONList :: [Pandoc] -> Value Source # toEncodingList :: [Pandoc] -> Encoding Source # omitField :: Pandoc -> Bool Source #
NFData Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Pandoc -> () Source #
Monoid Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods mempty :: Pandoc Source # mappend :: Pandoc -> Pandoc -> Pandoc Source # mconcat :: [Pandoc] -> Pandoc Source #
Semigroup Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods (<>) :: Pandoc -> Pandoc -> Pandoc Source # sconcat :: NonEmpty Pandoc -> Pandoc Source # stimes :: Integral b => b -> Pandoc -> Pandoc Source #
Data Pandoc Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Pandoc -> Constr Source #

dataTypeOf :: Pandoc -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Pandoc Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Pandoc |

Instance details

Defined in Text.Pandoc.Definition

type Rep Pandoc = D1 ('MetaData "Pandoc" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Pandoc" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Meta) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))

Methods

from :: Pandoc -> Rep Pandoc x Source #

to :: Rep Pandoc x -> Pandoc Source #

Read Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS Pandoc Source # readList :: ReadS [Pandoc] Source # readPrec :: ReadPrec Pandoc Source # readListPrec :: ReadPrec [Pandoc] Source #
Show Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> Pandoc -> ShowS Source # show :: Pandoc -> String Source # showList :: [Pandoc] -> ShowS Source #
Eq Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: Pandoc -> Pandoc -> Bool Source # (/=) :: Pandoc -> Pandoc -> Bool Source #
Ord Pandoc Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: Pandoc -> Pandoc -> Ordering Source # (<) :: Pandoc -> Pandoc -> Bool Source # (<=) :: Pandoc -> Pandoc -> Bool Source # (>) :: Pandoc -> Pandoc -> Bool Source # (>=) :: Pandoc -> Pandoc -> Bool Source # max :: Pandoc -> Pandoc -> Pandoc Source # min :: Pandoc -> Pandoc -> Pandoc Source #
HasMeta Pandoc Source # |
Instance details Defined in Text.Pandoc.Builder Methods setMeta :: ToMetaValue b => Text -> b -> Pandoc -> Pandoc Source # deleteMeta :: Text -> Pandoc -> Pandoc Source #
Walkable Block Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Pandoc -> m Pandoc Source # query :: Monoid c => (Block -> c) -> Pandoc -> c Source #
Walkable Inline Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Pandoc -> m Pandoc Source # query :: Monoid c => (Inline -> c) -> Pandoc -> c Source #
Walkable Meta Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Meta -> Meta) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (Meta -> m Meta) -> Pandoc -> m Pandoc Source # query :: Monoid c => (Meta -> c) -> Pandoc -> c Source #
Walkable MetaValue Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (MetaValue -> MetaValue) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Pandoc -> m Pandoc Source # query :: Monoid c => (MetaValue -> c) -> Pandoc -> c Source #
Walkable Pandoc Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Pandoc -> Pandoc) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (Pandoc -> m Pandoc) -> Pandoc -> m Pandoc Source # query :: Monoid c => (Pandoc -> c) -> Pandoc -> c Source #
Walkable [Block] Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Pandoc -> m Pandoc Source # query :: Monoid c => ([Block] -> c) -> Pandoc -> c Source #
Walkable [Inline] Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Pandoc -> m Pandoc Source # query :: Monoid c => ([Inline] -> c) -> Pandoc -> c Source #
type Rep Pandoc Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep Pandoc = D1 ('MetaData "Pandoc" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Pandoc" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Meta) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))

newtype Meta Source #

Metadata for the document: title, authors, date.

Constructors

Meta |

Fields

- unMeta :: Map Text MetaValue

#### Instances

Instances details

Arbitrary Meta Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Meta Source # shrink :: Meta -> [Meta] Source #
FromJSON Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Meta Source # parseJSONList :: Value -> Parser [Meta] Source # omittedField :: Maybe Meta Source #
ToJSON Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Meta -> Value Source # toEncoding :: Meta -> Encoding Source # toJSONList :: [Meta] -> Value Source # toEncodingList :: [Meta] -> Encoding Source # omitField :: Meta -> Bool Source #
NFData Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Meta -> () Source #
Monoid Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods mempty :: Meta Source # mappend :: Meta -> Meta -> Meta Source # mconcat :: [Meta] -> Meta Source #
Semigroup Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods (<>) :: Meta -> Meta -> Meta Source # sconcat :: NonEmpty Meta -> Meta Source # stimes :: Integral b => b -> Meta -> Meta Source #
Data Meta Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Meta -> Constr Source #

dataTypeOf :: Meta -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Meta Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Meta |
Instance details Defined in Text.Pandoc.Definition type Rep Meta = D1 ('MetaData "Meta" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "Meta" 'PrefixI 'True) (S1 ('MetaSel ('Just "unMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text MetaValue))))

Methods

from :: Meta -> Rep Meta x Source #

to :: Rep Meta x -> Meta Source #

Read Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS Meta Source # readList :: ReadS [Meta] Source # readPrec :: ReadPrec Meta Source # readListPrec :: ReadPrec [Meta] Source #
Show Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> Meta -> ShowS Source # show :: Meta -> String Source # showList :: [Meta] -> ShowS Source #
Eq Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: Meta -> Meta -> Bool Source # (/=) :: Meta -> Meta -> Bool Source #
Ord Meta Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: Meta -> Meta -> Ordering Source # (<) :: Meta -> Meta -> Bool Source # (<=) :: Meta -> Meta -> Bool Source # (>) :: Meta -> Meta -> Bool Source # (>=) :: Meta -> Meta -> Bool Source # max :: Meta -> Meta -> Meta Source # min :: Meta -> Meta -> Meta Source #
HasMeta Meta Source # |
Instance details Defined in Text.Pandoc.Builder Methods setMeta :: ToMetaValue b => Text -> b -> Meta -> Meta Source # deleteMeta :: Text -> Meta -> Meta Source #
Walkable Block Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Meta -> m Meta Source # query :: Monoid c => (Block -> c) -> Meta -> c Source #
Walkable Inline Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Meta -> m Meta Source # query :: Monoid c => (Inline -> c) -> Meta -> c Source #
Walkable Meta Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Meta -> Meta) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => (Meta -> m Meta) -> Meta -> m Meta Source # query :: Monoid c => (Meta -> c) -> Meta -> c Source #
Walkable Meta Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Meta -> Meta) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (Meta -> m Meta) -> Pandoc -> m Pandoc Source # query :: Monoid c => (Meta -> c) -> Pandoc -> c Source #
Walkable MetaValue Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (MetaValue -> MetaValue) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Meta -> m Meta Source # query :: Monoid c => (MetaValue -> c) -> Meta -> c Source #
Walkable [Block] Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Meta -> m Meta Source # query :: Monoid c => ([Block] -> c) -> Meta -> c Source #
Walkable [Inline] Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Meta -> m Meta Source # query :: Monoid c => ([Inline] -> c) -> Meta -> c Source #
type Rep Meta Source # |
Instance details Defined in Text.Pandoc.Definition type Rep Meta = D1 ('MetaData "Meta" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "Meta" 'PrefixI 'True) (S1 ('MetaSel ('Just "unMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text MetaValue))))

data MetaValue Source #

Constructors

MetaMap (Map Text MetaValue) |
MetaList [MetaValue] |
MetaBool Bool |
MetaString Text |
MetaInlines [Inline] |
MetaBlocks [Block] |

#### Instances

Instances details

FromJSON MetaValue Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser MetaValue Source # parseJSONList :: Value -> Parser [MetaValue] Source # omittedField :: Maybe MetaValue Source #
ToJSON MetaValue Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: MetaValue -> Value Source # toEncoding :: MetaValue -> Encoding Source # toJSONList :: [MetaValue] -> Value Source # toEncodingList :: [MetaValue] -> Encoding Source # omitField :: MetaValue -> Bool Source #
NFData MetaValue Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: MetaValue -> () Source #
Data MetaValue Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: MetaValue -> Constr Source #

dataTypeOf :: MetaValue -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic MetaValue Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep MetaValue |

Instance details

Defined in Text.Pandoc.Definition

type Rep MetaValue = D1 ('MetaData "MetaValue" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "MetaMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map Text MetaValue))) :+: (C1 ('MetaCons "MetaList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetaValue])) :+: C1 ('MetaCons "MetaBool" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) :+: (C1 ('MetaCons "MetaString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "MetaInlines" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "MetaBlocks" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))))

Methods

from :: MetaValue -> Rep MetaValue x Source #

to :: Rep MetaValue x -> MetaValue Source #

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

Instance details

Defined in Text.Pandoc.Definition

Methods

compare :: MetaValue -> MetaValue -> Ordering Source #

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

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

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

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

max :: MetaValue -> MetaValue -> MetaValue Source #

min :: MetaValue -> MetaValue -> MetaValue Source #

ToMetaValue MetaValue Source # |
Instance details Defined in Text.Pandoc.Builder Methods toMetaValue :: MetaValue -> MetaValue Source #
Walkable Block MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> MetaValue -> m MetaValue Source # query :: Monoid c => (Block -> c) -> MetaValue -> c Source #
Walkable Inline MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> MetaValue -> m MetaValue Source # query :: Monoid c => (Inline -> c) -> MetaValue -> c Source #
Walkable MetaValue Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (MetaValue -> MetaValue) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Meta -> m Meta Source # query :: Monoid c => (MetaValue -> c) -> Meta -> c Source #
Walkable MetaValue MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (MetaValue -> MetaValue) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> MetaValue -> m MetaValue Source # query :: Monoid c => (MetaValue -> c) -> MetaValue -> c Source #
Walkable MetaValue Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (MetaValue -> MetaValue) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Pandoc -> m Pandoc Source # query :: Monoid c => (MetaValue -> c) -> Pandoc -> c Source #
Walkable [Block] MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> MetaValue -> m MetaValue Source # query :: Monoid c => ([Block] -> c) -> MetaValue -> c Source #
Walkable [Inline] MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> MetaValue -> m MetaValue Source # query :: Monoid c => ([Inline] -> c) -> MetaValue -> c Source #
type Rep MetaValue Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep MetaValue = D1 ('MetaData "MetaValue" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "MetaMap" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map Text MetaValue))) :+: (C1 ('MetaCons "MetaList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetaValue])) :+: C1 ('MetaCons "MetaBool" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))) :+: (C1 ('MetaCons "MetaString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: (C1 ('MetaCons "MetaInlines" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "MetaBlocks" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))))

nullMeta :: Meta Source #

isNullMeta :: Meta -> Bool Source #

lookupMeta :: Text -> Meta -> Maybe MetaValue Source #

Retrieve the metadata value for a given `key`.

docTitle :: Meta -> [Inline] Source #

Extract document title from metadata; works just like the old `docTitle`.

docAuthors :: Meta -> [[Inline]] Source #

Extract document authors from metadata; works just like the old `docAuthors`.

docDate :: Meta -> [Inline] Source #

Extract date from metadata; works just like the old `docDate`.

data Block Source #

Block element.

Constructors

Plain [Inline] | Plain text, not a paragraph
Para [Inline] | Paragraph
LineBlock [[Inline]] | Multiple non-breaking lines
CodeBlock Attr Text | Code block (literal) with attributes
RawBlock Format Text | Raw block
BlockQuote [Block] | Block quote (list of blocks)
OrderedList ListAttributes [[Block]] | Ordered list (attributes and a list of items, each a list of blocks)
BulletList [[Block]] | Bullet list (list of items, each a list of blocks)
DefinitionList [([Inline], [[Block]])] | Definition list. Each list item is a pair consisting of a term (a list of inlines) and one or more definitions (each a list of blocks)
Header Int Attr [Inline] | Header - level (integer) and text (inlines)
HorizontalRule | Horizontal rule
Table Attr Caption [ColSpec] TableHead [TableBody] TableFoot | Table, with attributes, caption, optional short caption, column alignments and widths (required), table head, table bodies, and table foot
Figure Attr Caption [Block] | Figure, with attributes, caption, and content (list of blocks)
Div Attr [Block] | Generic block container with attributes

#### Instances

Instances details

Arbitrary Blocks Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Blocks Source # shrink :: Blocks -> [Blocks] Source #
Arbitrary Block Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Block Source # shrink :: Block -> [Block] Source #
FromJSON Block Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Block Source # parseJSONList :: Value -> Parser [Block] Source # omittedField :: Maybe Block Source #
ToJSON Block Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Block -> Value Source # toEncoding :: Block -> Encoding Source # toJSONList :: [Block] -> Value Source # toEncodingList :: [Block] -> Encoding Source # omitField :: Block -> Bool Source #
NFData Block Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Block -> () Source #
Monoid Blocks Source # |
Instance details Defined in Text.Pandoc.Builder Methods mempty :: Blocks Source # mappend :: Blocks -> Blocks -> Blocks Source # mconcat :: [Blocks] -> Blocks Source #
Semigroup Blocks Source # |
Instance details Defined in Text.Pandoc.Builder Methods (<>) :: Blocks -> Blocks -> Blocks Source # sconcat :: NonEmpty Blocks -> Blocks Source # stimes :: Integral b => b -> Blocks -> Blocks Source #
Data Block Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Block -> Constr Source #

dataTypeOf :: Block -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Block Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Block |

Instance details

Defined in Text.Pandoc.Definition

type Rep Block = D1 ('MetaData "Block" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (((C1 ('MetaCons "Plain" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Para" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "LineBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Inline]])))) :+: ((C1 ('MetaCons "CodeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "RawBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :+: (C1 ('MetaCons "BlockQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListAttributes) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]]))))) :+: ((C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]])) :+: (C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [([Inline], [[Block]])])) :+: C1 ('MetaCons "Header" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "HorizontalRule" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ColSpec]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableHead) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TableBody]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableFoot))))) :+: (C1 ('MetaCons "Figure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) :+: C1 ('MetaCons "Div" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))))))

Methods

from :: Block -> Rep Block x Source #

to :: Rep Block x -> Block Source #

Read Block Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS Block Source # readList :: ReadS [Block] Source # readPrec :: ReadPrec Block Source # readListPrec :: ReadPrec [Block] Source #
Show Block Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> Block -> ShowS Source # show :: Block -> String Source # showList :: [Block] -> ShowS Source #
Eq Block Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: Block -> Block -> Bool Source # (/=) :: Block -> Block -> Bool Source #
Ord Block Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: Block -> Block -> Ordering Source # (<) :: Block -> Block -> Bool Source # (<=) :: Block -> Block -> Bool Source # (>) :: Block -> Block -> Bool Source # (>=) :: Block -> Block -> Bool Source # max :: Block -> Block -> Block Source # min :: Block -> Block -> Block Source #
ToMetaValue Blocks Source # |
Instance details Defined in Text.Pandoc.Builder Methods toMetaValue :: Blocks -> MetaValue Source #
Walkable Block Block Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Block -> Block Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Block -> m Block Source # query :: Monoid c => (Block -> c) -> Block -> c Source #
Walkable Block Caption Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Caption -> Caption Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Caption -> m Caption Source # query :: Monoid c => (Block -> c) -> Caption -> c Source #
Walkable Block Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Cell -> m Cell Source # query :: Monoid c => (Block -> c) -> Cell -> c Source #
Walkable Block Citation Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Citation -> Citation Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Citation -> m Citation Source # query :: Monoid c => (Block -> c) -> Citation -> c Source #
Walkable Block Inline Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Inline -> Inline Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Inline -> m Inline Source # query :: Monoid c => (Block -> c) -> Inline -> c Source #
Walkable Block Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Meta -> m Meta Source # query :: Monoid c => (Block -> c) -> Meta -> c Source #
Walkable Block MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> MetaValue -> m MetaValue Source # query :: Monoid c => (Block -> c) -> MetaValue -> c Source #
Walkable Block Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Pandoc -> m Pandoc Source # query :: Monoid c => (Block -> c) -> Pandoc -> c Source #
Walkable Block Row Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Row -> Row Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Row -> m Row Source # query :: Monoid c => (Block -> c) -> Row -> c Source #
Walkable Block TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableBody -> m TableBody Source # query :: Monoid c => (Block -> c) -> TableBody -> c Source #
Walkable Block TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableFoot -> m TableFoot Source # query :: Monoid c => (Block -> c) -> TableFoot -> c Source #
Walkable Block TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableHead -> m TableHead Source # query :: Monoid c => (Block -> c) -> TableHead -> c Source #
Walkable Inline Block Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Block -> Block Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Block -> m Block Source # query :: Monoid c => (Inline -> c) -> Block -> c Source #
Walkable [Block] Block Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Block -> Block Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Block -> m Block Source # query :: Monoid c => ([Block] -> c) -> Block -> c Source #
Walkable [Block] Caption Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Caption -> Caption Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Caption -> m Caption Source # query :: Monoid c => ([Block] -> c) -> Caption -> c Source #
Walkable [Block] Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Cell -> m Cell Source # query :: Monoid c => ([Block] -> c) -> Cell -> c Source #
Walkable [Block] Citation Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Citation -> Citation Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Citation -> m Citation Source # query :: Monoid c => ([Block] -> c) -> Citation -> c Source #
Walkable [Block] Inline Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Inline -> Inline Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Inline -> m Inline Source # query :: Monoid c => ([Block] -> c) -> Inline -> c Source #
Walkable [Block] Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Meta -> m Meta Source # query :: Monoid c => ([Block] -> c) -> Meta -> c Source #
Walkable [Block] MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> MetaValue -> m MetaValue Source # query :: Monoid c => ([Block] -> c) -> MetaValue -> c Source #
Walkable [Block] Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Pandoc -> m Pandoc Source # query :: Monoid c => ([Block] -> c) -> Pandoc -> c Source #
Walkable [Block] Row Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Row -> Row Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Row -> m Row Source # query :: Monoid c => ([Block] -> c) -> Row -> c Source #
Walkable [Block] TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableBody -> m TableBody Source # query :: Monoid c => ([Block] -> c) -> TableBody -> c Source #
Walkable [Block] TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableFoot -> m TableFoot Source # query :: Monoid c => ([Block] -> c) -> TableFoot -> c Source #
Walkable [Block] TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableHead -> m TableHead Source # query :: Monoid c => ([Block] -> c) -> TableHead -> c Source #
Walkable [Inline] Block Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Block -> Block Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Block -> m Block Source # query :: Monoid c => ([Inline] -> c) -> Block -> c Source #
Walkable [Block] [Block] Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> [Block] -> [Block] Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> [Block] -> m [Block] Source # query :: Monoid c => ([Block] -> c) -> [Block] -> c Source #
type Rep Block Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep Block = D1 ('MetaData "Block" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (((C1 ('MetaCons "Plain" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Para" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "LineBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Inline]])))) :+: ((C1 ('MetaCons "CodeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "RawBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :+: (C1 ('MetaCons "BlockQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListAttributes) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]]))))) :+: ((C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Block]])) :+: (C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [([Inline], [[Block]])])) :+: C1 ('MetaCons "Header" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "HorizontalRule" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ColSpec]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableHead) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TableBody]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TableFoot))))) :+: (C1 ('MetaCons "Figure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Caption) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))) :+: C1 ('MetaCons "Div" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block]))))))

pattern SimpleFigure :: Attr -> [Inline] -> Target -> Block Source #

Bidirectional pattern synonym

It can pass as a Block constructor

    >>> SimpleFigure nullAttr [] (T.pack "", T.pack "title")
    Para [Image ("",[],[]) [] ("","fig:title")]

It can be used to pattern match >>> let img = Para [Image undefined undefined (undefined, T.pack "title")] >>> case img of { SimpleFigure _ _ _ -> True; _ -> False } False >>> let fig = Para [Image undefined undefined (undefined, T.pack "fig:title")] >>> case fig of { SimpleFigure _ _ tit -> snd tit; _ -> T.pack "" } "title"

data Inline Source #

Inline elements.

Constructors

Str Text | Text (string)
Emph [Inline] | Emphasized text (list of inlines)
Underline [Inline] | Underlined text (list of inlines)
Strong [Inline] | Strongly emphasized text (list of inlines)
Strikeout [Inline] | Strikeout text (list of inlines)
Superscript [Inline] | Superscripted text (list of inlines)
Subscript [Inline] | Subscripted text (list of inlines)
SmallCaps [Inline] | Small caps text (list of inlines)
Quoted QuoteType [Inline] | Quoted text (list of inlines)
Cite [Citation] [Inline] | Citation (list of inlines)
Code Attr Text | Inline code (literal)
Space | Inter-word space
SoftBreak | Soft line break
LineBreak | Hard line break
Math MathType Text | TeX math (literal)
RawInline Format Text | Raw inline
Link Attr [Inline] Target | Hyperlink: alt text (list of inlines), target
Image Attr [Inline] Target | Image: alt text (list of inlines), target
Note [Block] | Footnote or endnote
Span Attr [Inline] | Generic inline container with attributes

#### Instances

Instances details

Arbitrary Inlines Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Inlines Source # shrink :: Inlines -> [Inlines] Source #
Arbitrary Inline Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Inline Source # shrink :: Inline -> [Inline] Source #
FromJSON Inline Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Inline Source # parseJSONList :: Value -> Parser [Inline] Source # omittedField :: Maybe Inline Source #
ToJSON Inline Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Inline -> Value Source # toEncoding :: Inline -> Encoding Source # toJSONList :: [Inline] -> Value Source # toEncodingList :: [Inline] -> Encoding Source # omitField :: Inline -> Bool Source #
NFData Inline Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Inline -> () Source #
Monoid Inlines Source # |
Instance details Defined in Text.Pandoc.Builder Methods mempty :: Inlines Source # mappend :: Inlines -> Inlines -> Inlines Source # mconcat :: [Inlines] -> Inlines Source #
Semigroup Inlines Source # |
Instance details Defined in Text.Pandoc.Builder Methods (<>) :: Inlines -> Inlines -> Inlines Source # sconcat :: NonEmpty Inlines -> Inlines Source # stimes :: Integral b => b -> Inlines -> Inlines Source #
Data Inline Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Inline -> Constr Source #

dataTypeOf :: Inline -> DataType Source #

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

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

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

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

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

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

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

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

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

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

IsString Inlines Source # |
Instance details Defined in Text.Pandoc.Builder Methods fromString :: String -> Inlines Source #
Generic Inline Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Inline |

Instance details

Defined in Text.Pandoc.Definition

type Rep Inline = D1 ('MetaData "Inline" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((((C1 ('MetaCons "Str" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Emph" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "Underline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Strong" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Strikeout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "Superscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Subscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "SmallCaps" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Quoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QuoteType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Cite" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Citation]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])))))) :+: (((C1 ('MetaCons "Code" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Space" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SoftBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LineBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Math" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MathType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) :+: ((C1 ('MetaCons "RawInline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Link" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target)))) :+: (C1 ('MetaCons "Image" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target))) :+: (C1 ('MetaCons "Note" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "Span" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])))))))

Methods

from :: Inline -> Rep Inline x Source #

to :: Rep Inline x -> Inline Source #

Read Inline Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS Inline Source # readList :: ReadS [Inline] Source # readPrec :: ReadPrec Inline Source # readListPrec :: ReadPrec [Inline] Source #
Show Inline Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> Inline -> ShowS Source # show :: Inline -> String Source # showList :: [Inline] -> ShowS Source #
Eq Inline Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: Inline -> Inline -> Bool Source # (/=) :: Inline -> Inline -> Bool Source #
Ord Inline Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: Inline -> Inline -> Ordering Source # (<) :: Inline -> Inline -> Bool Source # (<=) :: Inline -> Inline -> Bool Source # (>) :: Inline -> Inline -> Bool Source # (>=) :: Inline -> Inline -> Bool Source # max :: Inline -> Inline -> Inline Source # min :: Inline -> Inline -> Inline Source #
ToMetaValue Inlines Source # |
Instance details Defined in Text.Pandoc.Builder Methods toMetaValue :: Inlines -> MetaValue Source #
Walkable Block Inline Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Inline -> Inline Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Inline -> m Inline Source # query :: Monoid c => (Block -> c) -> Inline -> c Source #
Walkable Inline Block Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Block -> Block Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Block -> m Block Source # query :: Monoid c => (Inline -> c) -> Block -> c Source #
Walkable Inline Caption Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Caption -> Caption Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Caption -> m Caption Source # query :: Monoid c => (Inline -> c) -> Caption -> c Source #
Walkable Inline Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Cell -> m Cell Source # query :: Monoid c => (Inline -> c) -> Cell -> c Source #
Walkable Inline Citation Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Citation -> Citation Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Citation -> m Citation Source # query :: Monoid c => (Inline -> c) -> Citation -> c Source #
Walkable Inline Inline Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Inline -> Inline Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Inline -> m Inline Source # query :: Monoid c => (Inline -> c) -> Inline -> c Source #
Walkable Inline Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Meta -> m Meta Source # query :: Monoid c => (Inline -> c) -> Meta -> c Source #
Walkable Inline MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> MetaValue -> m MetaValue Source # query :: Monoid c => (Inline -> c) -> MetaValue -> c Source #
Walkable Inline Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Pandoc -> m Pandoc Source # query :: Monoid c => (Inline -> c) -> Pandoc -> c Source #
Walkable Inline Row Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Row -> Row Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Row -> m Row Source # query :: Monoid c => (Inline -> c) -> Row -> c Source #
Walkable Inline TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableBody -> m TableBody Source # query :: Monoid c => (Inline -> c) -> TableBody -> c Source #
Walkable Inline TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableFoot -> m TableFoot Source # query :: Monoid c => (Inline -> c) -> TableFoot -> c Source #
Walkable Inline TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableHead -> m TableHead Source # query :: Monoid c => (Inline -> c) -> TableHead -> c Source #
Walkable [Block] Inline Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Inline -> Inline Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Inline -> m Inline Source # query :: Monoid c => ([Block] -> c) -> Inline -> c Source #
Walkable [Inline] Block Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Block -> Block Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Block -> m Block Source # query :: Monoid c => ([Inline] -> c) -> Block -> c Source #
Walkable [Inline] Caption Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Caption -> Caption Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Caption -> m Caption Source # query :: Monoid c => ([Inline] -> c) -> Caption -> c Source #
Walkable [Inline] Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Cell -> m Cell Source # query :: Monoid c => ([Inline] -> c) -> Cell -> c Source #
Walkable [Inline] Citation Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Citation -> Citation Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Citation -> m Citation Source # query :: Monoid c => ([Inline] -> c) -> Citation -> c Source #
Walkable [Inline] Inline Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Inline -> Inline Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Inline -> m Inline Source # query :: Monoid c => ([Inline] -> c) -> Inline -> c Source #
Walkable [Inline] Meta Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Meta -> Meta Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Meta -> m Meta Source # query :: Monoid c => ([Inline] -> c) -> Meta -> c Source #
Walkable [Inline] MetaValue Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> MetaValue -> MetaValue Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> MetaValue -> m MetaValue Source # query :: Monoid c => ([Inline] -> c) -> MetaValue -> c Source #
Walkable [Inline] Pandoc Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Pandoc -> Pandoc Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Pandoc -> m Pandoc Source # query :: Monoid c => ([Inline] -> c) -> Pandoc -> c Source #
Walkable [Inline] Row Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Row -> Row Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Row -> m Row Source # query :: Monoid c => ([Inline] -> c) -> Row -> c Source #
Walkable [Inline] TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableBody -> m TableBody Source # query :: Monoid c => ([Inline] -> c) -> TableBody -> c Source #
Walkable [Inline] TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableFoot -> m TableFoot Source # query :: Monoid c => ([Inline] -> c) -> TableFoot -> c Source #
Walkable [Inline] TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableHead -> m TableHead Source # query :: Monoid c => ([Inline] -> c) -> TableHead -> c Source #
Walkable [Inline] [Inline] Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> [Inline] -> [Inline] Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> [Inline] -> m [Inline] Source # query :: Monoid c => ([Inline] -> c) -> [Inline] -> c Source #
type Rep Inline Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep Inline = D1 ('MetaData "Inline" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((((C1 ('MetaCons "Str" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Emph" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "Underline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Strong" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Strikeout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "Superscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Subscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :+: (C1 ('MetaCons "SmallCaps" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: (C1 ('MetaCons "Quoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 QuoteType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])) :+: C1 ('MetaCons "Cite" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Citation]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])))))) :+: (((C1 ('MetaCons "Code" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Space" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SoftBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LineBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Math" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MathType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))) :+: ((C1 ('MetaCons "RawInline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "Link" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target)))) :+: (C1 ('MetaCons "Image" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Target))) :+: (C1 ('MetaCons "Note" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])) :+: C1 ('MetaCons "Span" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline])))))))

type ListAttributes = (Int, ListNumberStyle, ListNumberDelim) Source #

List attributes. The first element of the triple is the start number of the list.

data ListNumberStyle Source #

Style of list numbers.

Constructors

DefaultStyle |
Example |
Decimal |
LowerRoman |
UpperRoman |
LowerAlpha |
UpperAlpha |

#### Instances

Instances details

Arbitrary ListNumberStyle Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen ListNumberStyle Source # shrink :: ListNumberStyle -> [ListNumberStyle] Source #
FromJSON ListNumberStyle Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberStyle Source # parseJSONList :: Value -> Parser [ListNumberStyle] Source # omittedField :: Maybe ListNumberStyle Source #
ToJSON ListNumberStyle Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberStyle -> Value Source # toEncoding :: ListNumberStyle -> Encoding Source # toJSONList :: [ListNumberStyle] -> Value Source # toEncodingList :: [ListNumberStyle] -> Encoding Source # omitField :: ListNumberStyle -> Bool Source #
NFData ListNumberStyle Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: ListNumberStyle -> () Source #
Data ListNumberStyle Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: ListNumberStyle -> Constr Source #

dataTypeOf :: ListNumberStyle -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic ListNumberStyle Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep ListNumberStyle |

Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberStyle = D1 ('MetaData "ListNumberStyle" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "DefaultStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Example" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Decimal" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LowerRoman" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperRoman" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LowerAlpha" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperAlpha" 'PrefixI 'False) (U1 :: Type -> Type))))

Methods

from :: ListNumberStyle -> Rep ListNumberStyle x Source #

to :: Rep ListNumberStyle x -> ListNumberStyle Source #

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

Instance details

Defined in Text.Pandoc.Definition

Methods

compare :: ListNumberStyle -> ListNumberStyle -> Ordering Source #

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

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

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

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

max :: ListNumberStyle -> ListNumberStyle -> ListNumberStyle Source #

min :: ListNumberStyle -> ListNumberStyle -> ListNumberStyle Source #

type Rep ListNumberStyle Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberStyle = D1 ('MetaData "ListNumberStyle" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "DefaultStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Example" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Decimal" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LowerRoman" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperRoman" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LowerAlpha" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UpperAlpha" 'PrefixI 'False) (U1 :: Type -> Type))))

data ListNumberDelim Source #

Delimiter of list numbers.

Constructors

DefaultDelim |
Period |
OneParen |
TwoParens |

#### Instances

Instances details

Arbitrary ListNumberDelim Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen ListNumberDelim Source # shrink :: ListNumberDelim -> [ListNumberDelim] Source #
FromJSON ListNumberDelim Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ListNumberDelim Source # parseJSONList :: Value -> Parser [ListNumberDelim] Source # omittedField :: Maybe ListNumberDelim Source #
ToJSON ListNumberDelim Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: ListNumberDelim -> Value Source # toEncoding :: ListNumberDelim -> Encoding Source # toJSONList :: [ListNumberDelim] -> Value Source # toEncodingList :: [ListNumberDelim] -> Encoding Source # omitField :: ListNumberDelim -> Bool Source #
NFData ListNumberDelim Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: ListNumberDelim -> () Source #
Data ListNumberDelim Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: ListNumberDelim -> Constr Source #

dataTypeOf :: ListNumberDelim -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic ListNumberDelim Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep ListNumberDelim |

Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberDelim = D1 ('MetaData "ListNumberDelim" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "DefaultDelim" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Period" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OneParen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TwoParens" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: ListNumberDelim -> Rep ListNumberDelim x Source #

to :: Rep ListNumberDelim x -> ListNumberDelim Source #

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

Instance details

Defined in Text.Pandoc.Definition

Methods

compare :: ListNumberDelim -> ListNumberDelim -> Ordering Source #

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

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

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

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

max :: ListNumberDelim -> ListNumberDelim -> ListNumberDelim Source #

min :: ListNumberDelim -> ListNumberDelim -> ListNumberDelim Source #

type Rep ListNumberDelim Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberDelim = D1 ('MetaData "ListNumberDelim" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "DefaultDelim" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Period" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OneParen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TwoParens" 'PrefixI 'False) (U1 :: Type -> Type)))

newtype Format Source #

Formats for raw blocks

Constructors

Format Text |

#### Instances

Instances details

FromJSON Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Format Source # parseJSONList :: Value -> Parser [Format] Source # omittedField :: Maybe Format Source #
ToJSON Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Format -> Value Source # toEncoding :: Format -> Encoding Source # toJSONList :: [Format] -> Value Source # toEncodingList :: [Format] -> Encoding Source # omitField :: Format -> Bool Source #
NFData Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Format -> () Source #
Data Format Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Format -> Constr Source #

dataTypeOf :: Format -> DataType Source #

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

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

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

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

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

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

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

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

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

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

IsString Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods fromString :: String -> Format Source #
Generic Format Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Format |
Instance details Defined in Text.Pandoc.Definition type Rep Format = D1 ('MetaData "Format" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "Format" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Format -> Rep Format x Source #

to :: Rep Format x -> Format Source #

Read Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS Format Source # readList :: ReadS [Format] Source # readPrec :: ReadPrec Format Source # readListPrec :: ReadPrec [Format] Source #
Show Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> Format -> ShowS Source # show :: Format -> String Source # showList :: [Format] -> ShowS Source #
Eq Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: Format -> Format -> Bool Source # (/=) :: Format -> Format -> Bool Source #
Ord Format Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: Format -> Format -> Ordering Source # (<) :: Format -> Format -> Bool Source # (<=) :: Format -> Format -> Bool Source # (>) :: Format -> Format -> Bool Source # (>=) :: Format -> Format -> Bool Source # max :: Format -> Format -> Format Source # min :: Format -> Format -> Format Source #
(ToJSONFilter m a, MonadIO m) => ToJSONFilter m (Maybe Format -> a) Source # |
Instance details Defined in Text.Pandoc.JSON Methods toJSONFilter :: (Maybe Format -> a) -> m () Source #
type Rep Format Source # |
Instance details Defined in Text.Pandoc.Definition type Rep Format = D1 ('MetaData "Format" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "Format" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

type Attr = (Text, [Text], [(Text, Text)]) Source #

Attributes: identifier, classes, key-value pairs

nullAttr :: Attr Source #

data Caption Source #

The caption of a table or figure, with optional short caption.

Constructors

Caption (Maybe ShortCaption) [Block] |

#### Instances

Instances details

Arbitrary Caption Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Caption Source # shrink :: Caption -> [Caption] Source #
FromJSON Caption Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Caption Source # parseJSONList :: Value -> Parser [Caption] Source # omittedField :: Maybe Caption Source #
ToJSON Caption Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Caption -> Value Source # toEncoding :: Caption -> Encoding Source # toJSONList :: [Caption] -> Value Source # toEncodingList :: [Caption] -> Encoding Source # omitField :: Caption -> Bool Source #
NFData Caption Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Caption -> () Source #
Data Caption Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Caption -> Constr Source #

dataTypeOf :: Caption -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Caption Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Caption |

Instance details

Defined in Text.Pandoc.Definition

type Rep Caption = D1 ('MetaData "Caption" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Caption" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShortCaption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))

Methods

from :: Caption -> Rep Caption x Source #

to :: Rep Caption x -> Caption Source #

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

Instance details

Defined in Text.Pandoc.Definition

type Rep Caption = D1 ('MetaData "Caption" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Caption" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShortCaption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))

type ShortCaption = [Inline] Source #

A short caption, for use in, for instance, lists of figures.

newtype RowHeadColumns Source #

The number of columns taken up by the row head of each row of a `TableBody`. The row body takes up the remaining columns.

Constructors

RowHeadColumns Int |

#### Instances

Instances details

FromJSON RowHeadColumns Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser RowHeadColumns Source # parseJSONList :: Value -> Parser [RowHeadColumns] Source # omittedField :: Maybe RowHeadColumns Source #
ToJSON RowHeadColumns Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: RowHeadColumns -> Value Source # toEncoding :: RowHeadColumns -> Encoding Source # toJSONList :: [RowHeadColumns] -> Value Source # toEncodingList :: [RowHeadColumns] -> Encoding Source # omitField :: RowHeadColumns -> Bool Source #
NFData RowHeadColumns Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: RowHeadColumns -> () Source #
Data RowHeadColumns Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: RowHeadColumns -> Constr Source #

dataTypeOf :: RowHeadColumns -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Enum RowHeadColumns Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

succ :: RowHeadColumns -> RowHeadColumns Source #

pred :: RowHeadColumns -> RowHeadColumns Source #

toEnum :: Int -> RowHeadColumns Source #

fromEnum :: RowHeadColumns -> Int Source #

enumFrom :: RowHeadColumns -> [RowHeadColumns] Source #

enumFromThen :: RowHeadColumns -> RowHeadColumns -> [RowHeadColumns] Source #

enumFromTo :: RowHeadColumns -> RowHeadColumns -> [RowHeadColumns] Source #

enumFromThenTo :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns -> [RowHeadColumns] Source #

Generic RowHeadColumns Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep RowHeadColumns |
Instance details Defined in Text.Pandoc.Definition type Rep RowHeadColumns = D1 ('MetaData "RowHeadColumns" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "RowHeadColumns" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: RowHeadColumns -> Rep RowHeadColumns x Source #

to :: Rep RowHeadColumns x -> RowHeadColumns Source #

Num RowHeadColumns Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

(+) :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns Source #

(-) :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns Source #

(*) :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns Source #

negate :: RowHeadColumns -> RowHeadColumns Source #

abs :: RowHeadColumns -> RowHeadColumns Source #

signum :: RowHeadColumns -> RowHeadColumns Source #

fromInteger :: Integer -> RowHeadColumns Source #

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

Instance details

Defined in Text.Pandoc.Definition

Methods

compare :: RowHeadColumns -> RowHeadColumns -> Ordering Source #

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

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

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

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

max :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns Source #

min :: RowHeadColumns -> RowHeadColumns -> RowHeadColumns Source #

type Rep RowHeadColumns Source # |
Instance details Defined in Text.Pandoc.Definition type Rep RowHeadColumns = D1 ('MetaData "RowHeadColumns" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "RowHeadColumns" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data Alignment Source #

Alignment of a table column.

Constructors

AlignLeft |
AlignRight |
AlignCenter |
AlignDefault |

#### Instances

Instances details

Arbitrary Alignment Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Alignment Source # shrink :: Alignment -> [Alignment] Source #
FromJSON Alignment Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Alignment Source # parseJSONList :: Value -> Parser [Alignment] Source # omittedField :: Maybe Alignment Source #
ToJSON Alignment Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Alignment -> Value Source # toEncoding :: Alignment -> Encoding Source # toJSONList :: [Alignment] -> Value Source # toEncodingList :: [Alignment] -> Encoding Source # omitField :: Alignment -> Bool Source #
NFData Alignment Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Alignment -> () Source #
Data Alignment Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Alignment -> Constr Source #

dataTypeOf :: Alignment -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Alignment Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Alignment |

Instance details

Defined in Text.Pandoc.Definition

type Rep Alignment = D1 ('MetaData "Alignment" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlignCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignDefault" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: Alignment -> Rep Alignment x Source #

to :: Rep Alignment x -> Alignment Source #

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

Instance details

Defined in Text.Pandoc.Definition

Methods

compare :: Alignment -> Alignment -> Ordering Source #

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

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

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

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

max :: Alignment -> Alignment -> Alignment Source #

min :: Alignment -> Alignment -> Alignment Source #

type Rep Alignment Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep Alignment = D1 ('MetaData "Alignment" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) ((C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlignCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignDefault" 'PrefixI 'False) (U1 :: Type -> Type)))

data ColWidth Source #

The width of a table column, as a percentage of the text width.

Constructors

ColWidth Double |
ColWidthDefault |

#### Instances

Instances details

FromJSON ColWidth Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ColWidth Source # parseJSONList :: Value -> Parser [ColWidth] Source # omittedField :: Maybe ColWidth Source #
ToJSON ColWidth Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: ColWidth -> Value Source # toEncoding :: ColWidth -> Encoding Source # toJSONList :: [ColWidth] -> Value Source # toEncodingList :: [ColWidth] -> Encoding Source # omitField :: ColWidth -> Bool Source #
NFData ColWidth Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: ColWidth -> () Source #
Data ColWidth Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: ColWidth -> Constr Source #

dataTypeOf :: ColWidth -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic ColWidth Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep ColWidth |

Instance details

Defined in Text.Pandoc.Definition

type Rep ColWidth = D1 ('MetaData "ColWidth" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "ColWidth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :+: C1 ('MetaCons "ColWidthDefault" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: ColWidth -> Rep ColWidth x Source #

to :: Rep ColWidth x -> ColWidth Source #

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

Instance details

Defined in Text.Pandoc.Definition

type Rep ColWidth = D1 ('MetaData "ColWidth" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "ColWidth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)) :+: C1 ('MetaCons "ColWidthDefault" 'PrefixI 'False) (U1 :: Type -> Type))

type ColSpec = (Alignment, ColWidth) Source #

The specification for a single table column.

data Row Source #

A table row.

Constructors

Row Attr [Cell] |

#### Instances

Instances details

Arbitrary Row Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Row Source # shrink :: Row -> [Row] Source #
FromJSON Row Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Row Source # parseJSONList :: Value -> Parser [Row] Source # omittedField :: Maybe Row Source #
ToJSON Row Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Row -> Value Source # toEncoding :: Row -> Encoding Source # toJSONList :: [Row] -> Value Source # toEncodingList :: [Row] -> Encoding Source # omitField :: Row -> Bool Source #
NFData Row Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Row -> () Source #
Data Row Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Row -> Constr Source #

dataTypeOf :: Row -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Row Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Row |

Instance details

Defined in Text.Pandoc.Definition

type Rep Row = D1 ('MetaData "Row" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Row" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Cell])))

Methods

from :: Row -> Rep Row x Source #

to :: Rep Row x -> Row Source #

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

Instance details

Defined in Text.Pandoc.Definition

type Rep Row = D1 ('MetaData "Row" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Row" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Cell])))

data TableHead Source #

The head of a table.

Constructors

TableHead Attr [Row] |

#### Instances

Instances details

Arbitrary TableHead Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen TableHead Source # shrink :: TableHead -> [TableHead] Source #
FromJSON TableHead Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser TableHead Source # parseJSONList :: Value -> Parser [TableHead] Source # omittedField :: Maybe TableHead Source #
ToJSON TableHead Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: TableHead -> Value Source # toEncoding :: TableHead -> Encoding Source # toJSONList :: [TableHead] -> Value Source # toEncodingList :: [TableHead] -> Encoding Source # omitField :: TableHead -> Bool Source #
NFData TableHead Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: TableHead -> () Source #
Data TableHead Source # |

Instance details

Defined in Text.Pandoc.Definition

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

Associated Types

type Rep TableHead |

Instance details

Defined in Text.Pandoc.Definition

type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "TableHead" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row])))

Methods

from :: TableHead -> Rep TableHead x Source #

to :: Rep TableHead x -> TableHead Source #

Read TableHead Source # |
Instance details Defined in Text.Pandoc.Definition 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.Definition Methods showsPrec :: Int -> TableHead -> ShowS Source # show :: TableHead -> String Source # showList :: [TableHead] -> ShowS Source #
Eq TableHead Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: TableHead -> TableHead -> Bool Source # (/=) :: TableHead -> TableHead -> Bool Source #
Ord TableHead Source # |

Instance details

Defined in Text.Pandoc.Definition

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 Block TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableHead -> m TableHead Source # query :: Monoid c => (Block -> c) -> TableHead -> c Source #
Walkable Inline TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableHead -> m TableHead Source # query :: Monoid c => (Inline -> c) -> TableHead -> c Source #
Walkable [Block] TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableHead -> m TableHead Source # query :: Monoid c => ([Block] -> c) -> TableHead -> c Source #
Walkable [Inline] TableHead Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> TableHead -> TableHead Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableHead -> m TableHead Source # query :: Monoid c => ([Inline] -> c) -> TableHead -> c Source #
type Rep TableHead Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "TableHead" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row])))

data TableBody Source #

A body of a table, with an intermediate head, intermediate body, and the specified number of row header columns in the intermediate body.

Constructors

TableBody Attr RowHeadColumns [Row] [Row] |

#### Instances

Instances details

Arbitrary TableBody Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen TableBody Source # shrink :: TableBody -> [TableBody] Source #
FromJSON TableBody Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser TableBody Source # parseJSONList :: Value -> Parser [TableBody] Source # omittedField :: Maybe TableBody Source #
ToJSON TableBody Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: TableBody -> Value Source # toEncoding :: TableBody -> Encoding Source # toJSONList :: [TableBody] -> Value Source # toEncodingList :: [TableBody] -> Encoding Source # omitField :: TableBody -> Bool Source #
NFData TableBody Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: TableBody -> () Source #
Data TableBody Source # |

Instance details

Defined in Text.Pandoc.Definition

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

Associated Types

type Rep TableBody |

Instance details

Defined in Text.Pandoc.Definition

type Rep TableBody = D1 ('MetaData "TableBody" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "TableBody" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RowHeadColumns)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]))))

Methods

from :: TableBody -> Rep TableBody x Source #

to :: Rep TableBody x -> TableBody Source #

Read TableBody Source # |
Instance details Defined in Text.Pandoc.Definition 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.Definition Methods showsPrec :: Int -> TableBody -> ShowS Source # show :: TableBody -> String Source # showList :: [TableBody] -> ShowS Source #
Eq TableBody Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: TableBody -> TableBody -> Bool Source # (/=) :: TableBody -> TableBody -> Bool Source #
Ord TableBody Source # |

Instance details

Defined in Text.Pandoc.Definition

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 #

Walkable Block TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableBody -> m TableBody Source # query :: Monoid c => (Block -> c) -> TableBody -> c Source #
Walkable Inline TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableBody -> m TableBody Source # query :: Monoid c => (Inline -> c) -> TableBody -> c Source #
Walkable [Block] TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableBody -> m TableBody Source # query :: Monoid c => ([Block] -> c) -> TableBody -> c Source #
Walkable [Inline] TableBody Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> TableBody -> TableBody Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableBody -> m TableBody Source # query :: Monoid c => ([Inline] -> c) -> TableBody -> c Source #
type Rep TableBody Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep TableBody = D1 ('MetaData "TableBody" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "TableBody" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RowHeadColumns)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row]))))

data TableFoot Source #

The foot of a table.

Constructors

TableFoot Attr [Row] |

#### Instances

Instances details

Arbitrary TableFoot Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen TableFoot Source # shrink :: TableFoot -> [TableFoot] Source #
FromJSON TableFoot Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser TableFoot Source # parseJSONList :: Value -> Parser [TableFoot] Source # omittedField :: Maybe TableFoot Source #
ToJSON TableFoot Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: TableFoot -> Value Source # toEncoding :: TableFoot -> Encoding Source # toJSONList :: [TableFoot] -> Value Source # toEncodingList :: [TableFoot] -> Encoding Source # omitField :: TableFoot -> Bool Source #
NFData TableFoot Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: TableFoot -> () Source #
Data TableFoot Source # |

Instance details

Defined in Text.Pandoc.Definition

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

Associated Types

type Rep TableFoot |

Instance details

Defined in Text.Pandoc.Definition

type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "TableFoot" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row])))

Methods

from :: TableFoot -> Rep TableFoot x Source #

to :: Rep TableFoot x -> TableFoot Source #

Read TableFoot Source # |
Instance details Defined in Text.Pandoc.Definition 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.Definition Methods showsPrec :: Int -> TableFoot -> ShowS Source # show :: TableFoot -> String Source # showList :: [TableFoot] -> ShowS Source #
Eq TableFoot Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: TableFoot -> TableFoot -> Bool Source # (/=) :: TableFoot -> TableFoot -> Bool Source #
Ord TableFoot Source # |

Instance details

Defined in Text.Pandoc.Definition

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 #

Walkable Block TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableFoot -> m TableFoot Source # query :: Monoid c => (Block -> c) -> TableFoot -> c Source #
Walkable Inline TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableFoot -> m TableFoot Source # query :: Monoid c => (Inline -> c) -> TableFoot -> c Source #
Walkable [Block] TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableFoot -> m TableFoot Source # query :: Monoid c => ([Block] -> c) -> TableFoot -> c Source #
Walkable [Inline] TableFoot Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> TableFoot -> TableFoot Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableFoot -> m TableFoot Source # query :: Monoid c => ([Inline] -> c) -> TableFoot -> c Source #
type Rep TableFoot Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "TableFoot" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Row])))

data Cell Source #

A table cell.

Constructors

Cell Attr Alignment RowSpan ColSpan [Block] |

#### Instances

Instances details

Arbitrary Cell Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Cell Source # shrink :: Cell -> [Cell] Source #
FromJSON Cell Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Cell Source # parseJSONList :: Value -> Parser [Cell] Source # omittedField :: Maybe Cell Source #
ToJSON Cell Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Cell -> Value Source # toEncoding :: Cell -> Encoding Source # toJSONList :: [Cell] -> Value Source # toEncodingList :: [Cell] -> Encoding Source # omitField :: Cell -> Bool Source #
NFData Cell Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Cell -> () Source #
Data Cell Source # |

Instance details

Defined in Text.Pandoc.Definition

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

Associated Types

type Rep Cell |

Instance details

Defined in Text.Pandoc.Definition

type Rep Cell = D1 ('MetaData "Cell" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Alignment)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RowSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ColSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))))

Methods

from :: Cell -> Rep Cell x Source #

to :: Rep Cell x -> Cell Source #

Read Cell Source # |
Instance details Defined in Text.Pandoc.Definition 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.Definition Methods showsPrec :: Int -> Cell -> ShowS Source # show :: Cell -> String Source # showList :: [Cell] -> ShowS Source #
Eq Cell Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: Cell -> Cell -> Bool Source # (/=) :: Cell -> Cell -> Bool Source #
Ord Cell Source # |
Instance details Defined in Text.Pandoc.Definition 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 Block Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Block -> Block) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Cell -> m Cell Source # query :: Monoid c => (Block -> c) -> Cell -> c Source #
Walkable Inline Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: (Inline -> Inline) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Cell -> m Cell Source # query :: Monoid c => (Inline -> c) -> Cell -> c Source #
Walkable [Block] Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Block] -> [Block]) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Cell -> m Cell Source # query :: Monoid c => ([Block] -> c) -> Cell -> c Source #
Walkable [Inline] Cell Source # |
Instance details Defined in Text.Pandoc.Walk Methods walk :: ([Inline] -> [Inline]) -> Cell -> Cell Source # walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Cell -> m Cell Source # query :: Monoid c => ([Inline] -> c) -> Cell -> c Source #
type Rep Cell Source # |

Instance details

Defined in Text.Pandoc.Definition

type Rep Cell = D1 ('MetaData "Cell" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Alignment)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RowSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ColSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Block])))))

newtype RowSpan Source #

The number of rows occupied by a cell; the height of a cell.

Constructors

RowSpan Int |

#### Instances

Instances details

FromJSON RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser RowSpan Source # parseJSONList :: Value -> Parser [RowSpan] Source # omittedField :: Maybe RowSpan Source #
ToJSON RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: RowSpan -> Value Source # toEncoding :: RowSpan -> Encoding Source # toJSONList :: [RowSpan] -> Value Source # toEncodingList :: [RowSpan] -> Encoding Source # omitField :: RowSpan -> Bool Source #
NFData RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: RowSpan -> () Source #
Data RowSpan Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: RowSpan -> Constr Source #

dataTypeOf :: RowSpan -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Enum RowSpan Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

succ :: RowSpan -> RowSpan Source #

pred :: RowSpan -> RowSpan Source #

toEnum :: Int -> RowSpan Source #

fromEnum :: RowSpan -> Int Source #

enumFrom :: RowSpan -> [RowSpan] Source #

enumFromThen :: RowSpan -> RowSpan -> [RowSpan] Source #

enumFromTo :: RowSpan -> RowSpan -> [RowSpan] Source #

enumFromThenTo :: RowSpan -> RowSpan -> RowSpan -> [RowSpan] Source #

Generic RowSpan Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep RowSpan |
Instance details Defined in Text.Pandoc.Definition type Rep RowSpan = D1 ('MetaData "RowSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "RowSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: RowSpan -> Rep RowSpan x Source #

to :: Rep RowSpan x -> RowSpan Source #

Num RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods (+) :: RowSpan -> RowSpan -> RowSpan Source # (-) :: RowSpan -> RowSpan -> RowSpan Source # (*) :: RowSpan -> RowSpan -> RowSpan Source # negate :: RowSpan -> RowSpan Source # abs :: RowSpan -> RowSpan Source # signum :: RowSpan -> RowSpan Source # fromInteger :: Integer -> RowSpan Source #
Read RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS RowSpan Source # readList :: ReadS [RowSpan] Source # readPrec :: ReadPrec RowSpan Source # readListPrec :: ReadPrec [RowSpan] Source #
Show RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> RowSpan -> ShowS Source # show :: RowSpan -> String Source # showList :: [RowSpan] -> ShowS Source #
Eq RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: RowSpan -> RowSpan -> Bool Source # (/=) :: RowSpan -> RowSpan -> Bool Source #
Ord RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: RowSpan -> RowSpan -> Ordering Source # (<) :: RowSpan -> RowSpan -> Bool Source # (<=) :: RowSpan -> RowSpan -> Bool Source # (>) :: RowSpan -> RowSpan -> Bool Source # (>=) :: RowSpan -> RowSpan -> Bool Source # max :: RowSpan -> RowSpan -> RowSpan Source # min :: RowSpan -> RowSpan -> RowSpan Source #
type Rep RowSpan Source # |
Instance details Defined in Text.Pandoc.Definition type Rep RowSpan = D1 ('MetaData "RowSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "RowSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

newtype ColSpan Source #

The number of columns occupied by a cell; the width of a cell.

Constructors

ColSpan Int |

#### Instances

Instances details

FromJSON ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser ColSpan Source # parseJSONList :: Value -> Parser [ColSpan] Source # omittedField :: Maybe ColSpan Source #
ToJSON ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: ColSpan -> Value Source # toEncoding :: ColSpan -> Encoding Source # toJSONList :: [ColSpan] -> Value Source # toEncodingList :: [ColSpan] -> Encoding Source # omitField :: ColSpan -> Bool Source #
NFData ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: ColSpan -> () Source #
Data ColSpan Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: ColSpan -> Constr Source #

dataTypeOf :: ColSpan -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Enum ColSpan Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

succ :: ColSpan -> ColSpan Source #

pred :: ColSpan -> ColSpan Source #

toEnum :: Int -> ColSpan Source #

fromEnum :: ColSpan -> Int Source #

enumFrom :: ColSpan -> [ColSpan] Source #

enumFromThen :: ColSpan -> ColSpan -> [ColSpan] Source #

enumFromTo :: ColSpan -> ColSpan -> [ColSpan] Source #

enumFromThenTo :: ColSpan -> ColSpan -> ColSpan -> [ColSpan] Source #

Generic ColSpan Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep ColSpan |
Instance details Defined in Text.Pandoc.Definition type Rep ColSpan = D1 ('MetaData "ColSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "ColSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: ColSpan -> Rep ColSpan x Source #

to :: Rep ColSpan x -> ColSpan Source #

Num ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods (+) :: ColSpan -> ColSpan -> ColSpan Source # (-) :: ColSpan -> ColSpan -> ColSpan Source # (*) :: ColSpan -> ColSpan -> ColSpan Source # negate :: ColSpan -> ColSpan Source # abs :: ColSpan -> ColSpan Source # signum :: ColSpan -> ColSpan Source # fromInteger :: Integer -> ColSpan Source #
Read ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS ColSpan Source # readList :: ReadS [ColSpan] Source # readPrec :: ReadPrec ColSpan Source # readListPrec :: ReadPrec [ColSpan] Source #
Show ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> ColSpan -> ShowS Source # show :: ColSpan -> String Source # showList :: [ColSpan] -> ShowS Source #
Eq ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: ColSpan -> ColSpan -> Bool Source # (/=) :: ColSpan -> ColSpan -> Bool Source #
Ord ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: ColSpan -> ColSpan -> Ordering Source # (<) :: ColSpan -> ColSpan -> Bool Source # (<=) :: ColSpan -> ColSpan -> Bool Source # (>) :: ColSpan -> ColSpan -> Bool Source # (>=) :: ColSpan -> ColSpan -> Bool Source # max :: ColSpan -> ColSpan -> ColSpan Source # min :: ColSpan -> ColSpan -> ColSpan Source #
type Rep ColSpan Source # |
Instance details Defined in Text.Pandoc.Definition type Rep ColSpan = D1 ('MetaData "ColSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'True) (C1 ('MetaCons "ColSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data QuoteType Source #

Type of quotation marks to use in Quoted inline.

Constructors

SingleQuote |
DoubleQuote |

#### Instances

Instances details

Arbitrary QuoteType Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen QuoteType Source # shrink :: QuoteType -> [QuoteType] Source #
FromJSON QuoteType Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser QuoteType Source # parseJSONList :: Value -> Parser [QuoteType] Source # omittedField :: Maybe QuoteType Source #
ToJSON QuoteType Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: QuoteType -> Value Source # toEncoding :: QuoteType -> Encoding Source # toJSONList :: [QuoteType] -> Value Source # toEncodingList :: [QuoteType] -> Encoding Source # omitField :: QuoteType -> Bool Source #
NFData QuoteType Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: QuoteType -> () Source #
Data QuoteType Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: QuoteType -> Constr Source #

dataTypeOf :: QuoteType -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic QuoteType Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep QuoteType |
Instance details Defined in Text.Pandoc.Definition type Rep QuoteType = D1 ('MetaData "QuoteType" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "SingleQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoubleQuote" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: QuoteType -> Rep QuoteType x Source #

to :: Rep QuoteType x -> QuoteType Source #

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

Instance details

Defined in Text.Pandoc.Definition

Methods

compare :: QuoteType -> QuoteType -> Ordering Source #

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

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

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

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

max :: QuoteType -> QuoteType -> QuoteType Source #

min :: QuoteType -> QuoteType -> QuoteType Source #

type Rep QuoteType Source # |
Instance details Defined in Text.Pandoc.Definition type Rep QuoteType = D1 ('MetaData "QuoteType" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "SingleQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoubleQuote" 'PrefixI 'False) (U1 :: Type -> Type))

type Target = (Text, Text) Source #

Link target (URL, title).

data MathType Source #

Type of math element (display or inline).

Constructors

DisplayMath |
InlineMath |

#### Instances

Instances details

Arbitrary MathType Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen MathType Source # shrink :: MathType -> [MathType] Source #
FromJSON MathType Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser MathType Source # parseJSONList :: Value -> Parser [MathType] Source # omittedField :: Maybe MathType Source #
ToJSON MathType Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: MathType -> Value Source # toEncoding :: MathType -> Encoding Source # toJSONList :: [MathType] -> Value Source # toEncodingList :: [MathType] -> Encoding Source # omitField :: MathType -> Bool Source #
NFData MathType Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: MathType -> () Source #
Data MathType Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: MathType -> Constr Source #

dataTypeOf :: MathType -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic MathType Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep MathType |
Instance details Defined in Text.Pandoc.Definition type Rep MathType = D1 ('MetaData "MathType" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "DisplayMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineMath" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: MathType -> Rep MathType x Source #

to :: Rep MathType x -> MathType Source #

Read MathType Source # |
Instance details Defined in Text.Pandoc.Definition Methods readsPrec :: Int -> ReadS MathType Source # readList :: ReadS [MathType] Source # readPrec :: ReadPrec MathType Source # readListPrec :: ReadPrec [MathType] Source #
Show MathType Source # |
Instance details Defined in Text.Pandoc.Definition Methods showsPrec :: Int -> MathType -> ShowS Source # show :: MathType -> String Source # showList :: [MathType] -> ShowS Source #
Eq MathType Source # |
Instance details Defined in Text.Pandoc.Definition Methods (==) :: MathType -> MathType -> Bool Source # (/=) :: MathType -> MathType -> Bool Source #
Ord MathType Source # |
Instance details Defined in Text.Pandoc.Definition Methods compare :: MathType -> MathType -> Ordering Source # (<) :: MathType -> MathType -> Bool Source # (<=) :: MathType -> MathType -> Bool Source # (>) :: MathType -> MathType -> Bool Source # (>=) :: MathType -> MathType -> Bool Source # max :: MathType -> MathType -> MathType Source # min :: MathType -> MathType -> MathType Source #
type Rep MathType Source # |
Instance details Defined in Text.Pandoc.Definition type Rep MathType = D1 ('MetaData "MathType" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "DisplayMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineMath" 'PrefixI 'False) (U1 :: Type -> Type))

data Citation Source #

Constructors

Citation |

Fields

- citationId :: Text
- citationPrefix :: [Inline]
- citationSuffix :: [Inline]
- citationMode :: CitationMode
- citationNoteNum :: Int
- citationHash :: Int

#### Instances

Instances details

Arbitrary Citation Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen Citation Source # shrink :: Citation -> [Citation] Source #
FromJSON Citation Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser Citation Source # parseJSONList :: Value -> Parser [Citation] Source # omittedField :: Maybe Citation Source #
ToJSON Citation Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: Citation -> Value Source # toEncoding :: Citation -> Encoding Source # toJSONList :: [Citation] -> Value Source # toEncodingList :: [Citation] -> Encoding Source # omitField :: Citation -> Bool Source #
NFData Citation Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: Citation -> () Source #
Data Citation Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: Citation -> Constr Source #

dataTypeOf :: Citation -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic Citation Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep Citation |

Instance details

Defined in Text.Pandoc.Definition

type Rep Citation = D1 ('MetaData "Citation" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "citationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "citationPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Just "citationSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :*: (S1 ('MetaSel ('Just "citationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CitationMode) :*: (S1 ('MetaSel ('Just "citationNoteNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "citationHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

Methods

from :: Citation -> Rep Citation x Source #

to :: Rep Citation x -> Citation Source #

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

Instance details

Defined in Text.Pandoc.Definition

type Rep Citation = D1 ('MetaData "Citation" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "Citation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "citationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "citationPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]) :*: S1 ('MetaSel ('Just "citationSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Inline]))) :*: (S1 ('MetaSel ('Just "citationMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CitationMode) :*: (S1 ('MetaSel ('Just "citationNoteNum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "citationHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

data CitationMode Source #

Constructors

AuthorInText |
SuppressAuthor |
NormalCitation |

#### Instances

Instances details

Arbitrary CitationMode Source # |
Instance details Defined in Text.Pandoc.Arbitrary Methods arbitrary :: Gen CitationMode Source # shrink :: CitationMode -> [CitationMode] Source #
FromJSON CitationMode Source # |
Instance details Defined in Text.Pandoc.Definition Methods parseJSON :: Value -> Parser CitationMode Source # parseJSONList :: Value -> Parser [CitationMode] Source # omittedField :: Maybe CitationMode Source #
ToJSON CitationMode Source # |
Instance details Defined in Text.Pandoc.Definition Methods toJSON :: CitationMode -> Value Source # toEncoding :: CitationMode -> Encoding Source # toJSONList :: [CitationMode] -> Value Source # toEncodingList :: [CitationMode] -> Encoding Source # omitField :: CitationMode -> Bool Source #
NFData CitationMode Source # |
Instance details Defined in Text.Pandoc.Definition Methods rnf :: CitationMode -> () Source #
Data CitationMode Source # |

Instance details

Defined in Text.Pandoc.Definition

Methods

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

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

toConstr :: CitationMode -> Constr Source #

dataTypeOf :: CitationMode -> DataType Source #

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

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

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

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

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

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

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

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

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

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

Generic CitationMode Source # |

Instance details

Defined in Text.Pandoc.Definition

Associated Types

type Rep CitationMode |
Instance details Defined in Text.Pandoc.Definition type Rep CitationMode = D1 ('MetaData "CitationMode" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "AuthorInText" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SuppressAuthor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NormalCitation" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: CitationMode -> Rep CitationMode x Source #

to :: Rep CitationMode x -> CitationMode Source #

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

Instance details

Defined in Text.Pandoc.Definition

Methods

compare :: CitationMode -> CitationMode -> Ordering Source #

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

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

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

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

max :: CitationMode -> CitationMode -> CitationMode Source #

min :: CitationMode -> CitationMode -> CitationMode Source #

type Rep CitationMode Source # |
Instance details Defined in Text.Pandoc.Definition type Rep CitationMode = D1 ('MetaData "CitationMode" "Text.Pandoc.Definition" "pandoc-types-1.23.1.2-9KY6GkyDNgK2F31fi8zMzK" 'False) (C1 ('MetaCons "AuthorInText" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SuppressAuthor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NormalCitation" 'PrefixI 'False) (U1 :: Type -> Type)))

pandocTypesVersion :: Version Source #