gitit-0.15.1.2: Wiki using happstack, git or darcs, and pandoc.
Safe HaskellNone
LanguageHaskell2010

Network.Gitit.Interface

Description

Interface for plugins.

A plugin is a Haskell module that is dynamically loaded by gitit.

There are three kinds of plugins: PageTransforms, PreParseTransforms, and PreCommitTransforms. These plugins differ chiefly in where they are applied. PreCommitTransform plugins are applied just before changes to a page are saved and may transform the raw source that is saved. PreParseTransform plugins are applied when a page is viewed and may alter the raw page source before it is parsed as a Pandoc document. Finally, PageTransform plugins modify the Pandoc document that results after a page's source is parsed, but before it is converted to HTML:

                +--------------------------+
                | edited text from browser |
                +--------------------------+
                             ||         <----  PreCommitTransform plugins
                             \/
                             ||         <----  saved to repository
                             \/
             +---------------------------------+
             | raw page source from repository |
             +---------------------------------+
                             ||         <----  PreParseTransform plugins
                             \/
                             ||         <----  markdown or RST reader
                             \/
                    +-----------------+
                    | Pandoc document |
                    +-----------------+
                             ||         <---- PageTransform plugins
                             \/
                  +---------------------+
                  | new Pandoc document |
                  +---------------------+
                             ||         <---- HTML writer
                             \/
                  +----------------------+
                  | HTML version of page |
                  +----------------------+

Note that PreParseTransform and PageTransform plugins do not alter the page source stored in the repository. They only affect what is visible on the website. Only PreCommitTransform plugins can alter what is stored in the repository.

Note also that PreParseTransform and PageTransform plugins will not be run when the cached version of a page is used. Plugins can use the doNotCache command to prevent a page from being cached, if their behavior is sensitive to things that might change from one time to another (such as the time or currently logged-in user).

You can use the helper functions mkPageTransform and mkPageTransformM to create PageTransform plugins from a transformation of any of the basic types used by Pandoc (for example, Inline, Block, [Inline], even String). Here is a simple (if silly) example:

-- Deprofanizer.hs
module Deprofanizer (plugin) where

-- This plugin replaces profane words with "XXXXX".

import Network.Gitit.Interface
import Data.Char (toLower)

plugin :: Plugin
plugin = mkPageTransform deprofanize

deprofanize :: Inline -> Inline
deprofanize (Str x) | isBadWord x = Str "XXXXX"
deprofanize x                     = x

isBadWord :: String -> Bool
isBadWord x = (map toLower x) `elem` ["darn", "blasted", "stinker"]
-- there are more, but this is a family program

Further examples can be found in the plugins directory in the source distribution. If you have installed gitit using Cabal, you can also find them in the directory CABALDIR/share/gitit-X.Y.Z/plugins, where CABALDIR is the cabal install directory and X.Y.Z is the version number of gitit.

Synopsis

Documentation

mkPageTransform :: Data a => (a -> a) -> Plugin Source #

Lifts a function from a -> a (for example, Inline -> Inline, Block -> Block, [Inline] -> [Inline], or String -> String) to a PageTransform plugin.

mkPageTransformM :: Data a => (a -> PluginM a) -> Plugin Source #

Monadic version of mkPageTransform. Lifts a function from a -> m a to a PageTransform plugin.

data Config Source #

Data structure for information read from config file.

Constructors

Config 

Fields

data Request #

Instances

Instances details
Show Request 
Instance details

Defined in Happstack.Server.Internal.Types

HasHeaders Request 
Instance details

Defined in Happstack.Server.Internal.Types

data User Source #

Constructors

User 

Instances

Instances details
Read User Source # 
Instance details

Defined in Network.Gitit.Types

Show User Source # 
Instance details

Defined in Network.Gitit.Types

data PageLayout Source #

Abstract representation of page layout (tabs, scripts, etc.)

askConfig :: PluginM Config Source #

Returns the current wiki configuration.

askUser :: PluginM (Maybe User) Source #

Returns Just the logged in user, or Nothing if nobody is logged in.

askRequest :: PluginM Request Source #

Returns the complete HTTP request.

askFileStore :: PluginM FileStore Source #

Returns the wiki filestore.

askMeta :: PluginM [(String, String)] Source #

Returns the page meta data

doNotCache :: PluginM () Source #

Indicates that the current page or file is not to be cached.

inlinesToURL :: [Inline] -> String Source #

Derives a URL from a list of Pandoc Inline elements.

inlinesToString :: [Inline] -> String Source #

Convert a list of inlines into a string.

liftIO :: MonadIO m => IO a -> m a Source #

Lift a computation from the IO monad. This allows us to run IO computations in any monadic stack, so long as it supports these kinds of operations (i.e. IO is the base monad for the stack).

Example

Expand
import Control.Monad.Trans.State -- from the "transformers" library

printState :: Show s => StateT s IO ()
printState = do
  state <- get
  liftIO $ print state

Had we omitted liftIO, we would have ended up with this error:

• Couldn't match type ‘IO’ with ‘StateT s IO’
 Expected type: StateT s IO ()
   Actual type: IO ()

The important part here is the mismatch between StateT s IO () and IO ().

Luckily, we know of a function that takes an IO a and returns an (m a): liftIO, enabling us to run the program and see the expected results:

> evalStateT printState "hello"
"hello"

> evalStateT printState 3
3

withTempDir :: FilePath -> (FilePath -> IO a) -> IO a Source #

Perform a function in a temporary directory and clean up.

data Block #

Instances

Instances details
FromJSON Block 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Block 
Instance details

Defined in Text.Pandoc.Definition

NFData Block 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Block -> () Source #

Monoid Blocks 
Instance details

Defined in Text.Pandoc.Builder

Methods

mempty :: Blocks Source #

mappend :: Blocks -> Blocks -> Blocks Source #

mconcat :: [Blocks] -> Blocks Source #

Semigroup Blocks 
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 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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 'DecidedUnpack) (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 
Instance details

Defined in Text.Pandoc.Definition

Show Block 
Instance details

Defined in Text.Pandoc.Definition

Eq Block 
Instance details

Defined in Text.Pandoc.Definition

Methods

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

(/=) :: Block -> Block -> Bool Source #

Ord Block 
Instance details

Defined in Text.Pandoc.Definition

ToMetaValue Blocks 
Instance details

Defined in Text.Pandoc.Builder

Methods

toMetaValue :: Blocks -> MetaValue

Walkable Block Chunk 
Instance details

Defined in Text.Pandoc.Chunks

Methods

walk :: (Block -> Block) -> Chunk -> Chunk

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Chunk -> m Chunk

query :: Monoid c => (Block -> c) -> Chunk -> c

Walkable Block ChunkedDoc 
Instance details

Defined in Text.Pandoc.Chunks

Methods

walk :: (Block -> Block) -> ChunkedDoc -> ChunkedDoc

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> ChunkedDoc -> m ChunkedDoc

query :: Monoid c => (Block -> c) -> ChunkedDoc -> c

Walkable Block Block 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Block -> Block

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Block -> m Block

query :: Monoid c => (Block -> c) -> Block -> c

Walkable Block Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Caption -> m Caption

query :: Monoid c => (Block -> c) -> Caption -> c

Walkable Block Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Cell -> m Cell

query :: Monoid c => (Block -> c) -> Cell -> c

Walkable Block Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Citation -> m Citation

query :: Monoid c => (Block -> c) -> Citation -> c

Walkable Block Inline 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Inline -> Inline

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Inline -> m Inline

query :: Monoid c => (Block -> c) -> Inline -> c

Walkable Block Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Meta -> m Meta

query :: Monoid c => (Block -> c) -> Meta -> c

Walkable Block MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> MetaValue -> m MetaValue

query :: Monoid c => (Block -> c) -> MetaValue -> c

Walkable Block Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Pandoc -> m Pandoc

query :: Monoid c => (Block -> c) -> Pandoc -> c

Walkable Block Row 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Row -> m Row

query :: Monoid c => (Block -> c) -> Row -> c

Walkable Block TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableBody -> m TableBody

query :: Monoid c => (Block -> c) -> TableBody -> c

Walkable Block TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableFoot -> m TableFoot

query :: Monoid c => (Block -> c) -> TableFoot -> c

Walkable Block TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableHead -> m TableHead

query :: Monoid c => (Block -> c) -> TableHead -> c

Walkable Inline Block 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Block -> Block

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Block -> m Block

query :: Monoid c => (Inline -> c) -> Block -> c

Walkable [Block] Block 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Block -> Block

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Block -> m Block

query :: Monoid c => ([Block] -> c) -> Block -> c

Walkable [Block] Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Caption -> m Caption

query :: Monoid c => ([Block] -> c) -> Caption -> c

Walkable [Block] Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Cell -> m Cell

query :: Monoid c => ([Block] -> c) -> Cell -> c

Walkable [Block] Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Citation -> m Citation

query :: Monoid c => ([Block] -> c) -> Citation -> c

Walkable [Block] Inline 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Inline -> Inline

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Inline -> m Inline

query :: Monoid c => ([Block] -> c) -> Inline -> c

Walkable [Block] Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Meta -> m Meta

query :: Monoid c => ([Block] -> c) -> Meta -> c

Walkable [Block] MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> MetaValue -> m MetaValue

query :: Monoid c => ([Block] -> c) -> MetaValue -> c

Walkable [Block] Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Pandoc -> m Pandoc

query :: Monoid c => ([Block] -> c) -> Pandoc -> c

Walkable [Block] Row 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Row -> m Row

query :: Monoid c => ([Block] -> c) -> Row -> c

Walkable [Block] TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableBody -> m TableBody

query :: Monoid c => ([Block] -> c) -> TableBody -> c

Walkable [Block] TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableFoot -> m TableFoot

query :: Monoid c => ([Block] -> c) -> TableFoot -> c

Walkable [Block] TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableHead -> m TableHead

query :: Monoid c => ([Block] -> c) -> TableHead -> c

Walkable [Inline] Block 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Block -> Block

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Block -> m Block

query :: Monoid c => ([Inline] -> c) -> Block -> c

Walkable [Block] [Block] 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> [Block] -> [Block]

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> [Block] -> m [Block]

query :: Monoid c => ([Block] -> c) -> [Block] -> c

type Rep Block 
Instance details

Defined in Text.Pandoc.Definition

type Rep Block = D1 ('MetaData "Block" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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 'DecidedUnpack) (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]))))))

data Inline #

Instances

Instances details
FromJSON Inline 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Inline 
Instance details

Defined in Text.Pandoc.Definition

CiteprocOutput Inlines 
Instance details

Defined in Citeproc.Pandoc

Methods

toText :: Inlines -> Text

fromText :: Text -> Inlines

dropTextWhile :: (Char -> Bool) -> Inlines -> Inlines

dropTextWhileEnd :: (Char -> Bool) -> Inlines -> Inlines

addFontVariant :: FontVariant -> Inlines -> Inlines

addFontStyle :: FontStyle -> Inlines -> Inlines

addFontWeight :: FontWeight -> Inlines -> Inlines

addTextDecoration :: TextDecoration -> Inlines -> Inlines

addVerticalAlign :: VerticalAlign -> Inlines -> Inlines

addTextCase :: Maybe Lang -> TextCase -> Inlines -> Inlines

addDisplay :: DisplayStyle -> Inlines -> Inlines

addQuotes :: Inlines -> Inlines

movePunctuationInsideQuotes :: Inlines -> Inlines

inNote :: Inlines -> Inlines

mapText :: (Text -> Text) -> Inlines -> Inlines

addHyperlink :: Text -> Inlines -> Inlines

localizeQuotes :: Locale -> Inlines -> Inlines

NFData Inline 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Inline -> () Source #

Monoid Inlines 
Instance details

Defined in Text.Pandoc.Builder

Methods

mempty :: Inlines Source #

mappend :: Inlines -> Inlines -> Inlines Source #

mconcat :: [Inlines] -> Inlines Source #

Semigroup Inlines 
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 
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 
Instance details

Defined in Text.Pandoc.Builder

Methods

fromString :: String -> Inlines Source #

Generic Inline 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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])))))))
Read Inline 
Instance details

Defined in Text.Pandoc.Definition

Show Inline 
Instance details

Defined in Text.Pandoc.Definition

Eq Inline 
Instance details

Defined in Text.Pandoc.Definition

Ord Inline 
Instance details

Defined in Text.Pandoc.Definition

ToMetaValue Inlines 
Instance details

Defined in Text.Pandoc.Builder

Methods

toMetaValue :: Inlines -> MetaValue

Walkable Block Inline 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Inline -> Inline

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Inline -> m Inline

query :: Monoid c => (Block -> c) -> Inline -> c

Walkable Inline Chunk 
Instance details

Defined in Text.Pandoc.Chunks

Methods

walk :: (Inline -> Inline) -> Chunk -> Chunk

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Chunk -> m Chunk

query :: Monoid c => (Inline -> c) -> Chunk -> c

Walkable Inline ChunkedDoc 
Instance details

Defined in Text.Pandoc.Chunks

Methods

walk :: (Inline -> Inline) -> ChunkedDoc -> ChunkedDoc

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> ChunkedDoc -> m ChunkedDoc

query :: Monoid c => (Inline -> c) -> ChunkedDoc -> c

Walkable Inline SecInfo 
Instance details

Defined in Text.Pandoc.Chunks

Methods

walk :: (Inline -> Inline) -> SecInfo -> SecInfo

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> SecInfo -> m SecInfo

query :: Monoid c => (Inline -> c) -> SecInfo -> c

Walkable Inline Block 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Block -> Block

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Block -> m Block

query :: Monoid c => (Inline -> c) -> Block -> c

Walkable Inline Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Caption -> m Caption

query :: Monoid c => (Inline -> c) -> Caption -> c

Walkable Inline Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Cell -> m Cell

query :: Monoid c => (Inline -> c) -> Cell -> c

Walkable Inline Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Citation -> m Citation

query :: Monoid c => (Inline -> c) -> Citation -> c

Walkable Inline Inline 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Inline -> Inline

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Inline -> m Inline

query :: Monoid c => (Inline -> c) -> Inline -> c

Walkable Inline Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Meta -> m Meta

query :: Monoid c => (Inline -> c) -> Meta -> c

Walkable Inline MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> MetaValue -> m MetaValue

query :: Monoid c => (Inline -> c) -> MetaValue -> c

Walkable Inline Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Pandoc -> m Pandoc

query :: Monoid c => (Inline -> c) -> Pandoc -> c

Walkable Inline Row 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Row -> m Row

query :: Monoid c => (Inline -> c) -> Row -> c

Walkable Inline TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableBody -> m TableBody

query :: Monoid c => (Inline -> c) -> TableBody -> c

Walkable Inline TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableFoot -> m TableFoot

query :: Monoid c => (Inline -> c) -> TableFoot -> c

Walkable Inline TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableHead -> m TableHead

query :: Monoid c => (Inline -> c) -> TableHead -> c

Walkable [Block] Inline 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Inline -> Inline

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Inline -> m Inline

query :: Monoid c => ([Block] -> c) -> Inline -> c

Walkable [Inline] Block 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Block -> Block

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Block -> m Block

query :: Monoid c => ([Inline] -> c) -> Block -> c

Walkable [Inline] Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Caption -> m Caption

query :: Monoid c => ([Inline] -> c) -> Caption -> c

Walkable [Inline] Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Cell -> m Cell

query :: Monoid c => ([Inline] -> c) -> Cell -> c

Walkable [Inline] Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Citation -> m Citation

query :: Monoid c => ([Inline] -> c) -> Citation -> c

Walkable [Inline] Inline 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Inline -> Inline

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Inline -> m Inline

query :: Monoid c => ([Inline] -> c) -> Inline -> c

Walkable [Inline] Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Meta -> m Meta

query :: Monoid c => ([Inline] -> c) -> Meta -> c

Walkable [Inline] MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> MetaValue -> m MetaValue

query :: Monoid c => ([Inline] -> c) -> MetaValue -> c

Walkable [Inline] Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Pandoc -> m Pandoc

query :: Monoid c => ([Inline] -> c) -> Pandoc -> c

Walkable [Inline] Row 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Row -> m Row

query :: Monoid c => ([Inline] -> c) -> Row -> c

Walkable [Inline] TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableBody -> m TableBody

query :: Monoid c => ([Inline] -> c) -> TableBody -> c

Walkable [Inline] TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableFoot -> m TableFoot

query :: Monoid c => ([Inline] -> c) -> TableFoot -> c

Walkable [Inline] TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableHead -> m TableHead

query :: Monoid c => ([Inline] -> c) -> TableHead -> c

Walkable [Inline] [Inline] 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> [Inline] -> [Inline]

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> [Inline] -> m [Inline]

query :: Monoid c => ([Inline] -> c) -> [Inline] -> c

type Rep Inline 
Instance details

Defined in Text.Pandoc.Definition

type Rep Inline = D1 ('MetaData "Inline" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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])))))))

newtype Format #

Constructors

Format Text 

Instances

Instances details
FromJSON Format 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Format 
Instance details

Defined in Text.Pandoc.Definition

NFData Format 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Format -> () Source #

Data Format 
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 
Instance details

Defined in Text.Pandoc.Definition

Generic Format 
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.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "Format" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Read Format 
Instance details

Defined in Text.Pandoc.Definition

Show Format 
Instance details

Defined in Text.Pandoc.Definition

Eq Format 
Instance details

Defined in Text.Pandoc.Definition

Ord Format 
Instance details

Defined in Text.Pandoc.Definition

(ToJSONFilter m a, MonadIO m) => ToJSONFilter m (Maybe Format -> a) 
Instance details

Defined in Text.Pandoc.JSON

Methods

toJSONFilter :: (Maybe Format -> a) -> m ()

type Rep Format 
Instance details

Defined in Text.Pandoc.Definition

type Rep Format = D1 ('MetaData "Format" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "Format" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype Meta #

Constructors

Meta 

Instances

Instances details
FromJSON Meta 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Meta 
Instance details

Defined in Text.Pandoc.Definition

NFData Meta 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Meta -> () Source #

Monoid Meta 
Instance details

Defined in Text.Pandoc.Definition

Semigroup Meta 
Instance details

Defined in Text.Pandoc.Definition

Data Meta 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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 
Instance details

Defined in Text.Pandoc.Definition

Show Meta 
Instance details

Defined in Text.Pandoc.Definition

Eq Meta 
Instance details

Defined in Text.Pandoc.Definition

Methods

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

(/=) :: Meta -> Meta -> Bool Source #

Ord Meta 
Instance details

Defined in Text.Pandoc.Definition

HasMeta Meta 
Instance details

Defined in Text.Pandoc.Builder

Methods

setMeta :: ToMetaValue b => Text -> b -> Meta -> Meta

deleteMeta :: Text -> Meta -> Meta

Walkable Block Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Meta -> m Meta

query :: Monoid c => (Block -> c) -> Meta -> c

Walkable Inline Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Meta -> m Meta

query :: Monoid c => (Inline -> c) -> Meta -> c

Walkable Meta Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Meta -> Meta) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => (Meta -> m Meta) -> Meta -> m Meta

query :: Monoid c => (Meta -> c) -> Meta -> c

Walkable Meta Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Meta -> Meta) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (Meta -> m Meta) -> Pandoc -> m Pandoc

query :: Monoid c => (Meta -> c) -> Pandoc -> c

Walkable MetaValue Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (MetaValue -> MetaValue) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Meta -> m Meta

query :: Monoid c => (MetaValue -> c) -> Meta -> c

Walkable [Block] Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Meta -> m Meta

query :: Monoid c => ([Block] -> c) -> Meta -> c

Walkable [Inline] Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Meta -> m Meta

query :: Monoid c => ([Inline] -> c) -> Meta -> c

type Rep Meta 
Instance details

Defined in Text.Pandoc.Definition

type Rep Meta = D1 ('MetaData "Meta" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "Meta" 'PrefixI 'True) (S1 ('MetaSel ('Just "unMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text MetaValue))))

data Alignment #

Instances

Instances details
FromJSON Alignment 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Alignment 
Instance details

Defined in Text.Pandoc.Definition

NFData Alignment 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Alignment -> () Source #

Data Alignment 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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)))
Read Alignment 
Instance details

Defined in Text.Pandoc.Definition

Show Alignment 
Instance details

Defined in Text.Pandoc.Definition

Eq Alignment 
Instance details

Defined in Text.Pandoc.Definition

Ord Alignment 
Instance details

Defined in Text.Pandoc.Definition

type Rep Alignment 
Instance details

Defined in Text.Pandoc.Definition

type Rep Alignment = D1 ('MetaData "Alignment" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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)))

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

type Target = (Text, Text) #

data Cell #

Instances

Instances details
FromJSON Cell 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Cell 
Instance details

Defined in Text.Pandoc.Definition

NFData Cell 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Cell -> () Source #

Data Cell 
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 
Instance details

Defined in Text.Pandoc.Definition

Methods

from :: Cell -> Rep Cell x Source #

to :: Rep Cell x -> Cell Source #

Read Cell 
Instance details

Defined in Text.Pandoc.Definition

Show Cell 
Instance details

Defined in Text.Pandoc.Definition

Eq Cell 
Instance details

Defined in Text.Pandoc.Definition

Methods

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

(/=) :: Cell -> Cell -> Bool Source #

Ord Cell 
Instance details

Defined in Text.Pandoc.Definition

Walkable Block Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Cell -> m Cell

query :: Monoid c => (Block -> c) -> Cell -> c

Walkable Inline Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Cell -> m Cell

query :: Monoid c => (Inline -> c) -> Cell -> c

Walkable [Block] Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Cell -> m Cell

query :: Monoid c => ([Block] -> c) -> Cell -> c

Walkable [Inline] Cell 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Cell -> Cell

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Cell -> m Cell

query :: Monoid c => ([Inline] -> c) -> Cell -> c

type Rep Cell 
Instance details

Defined in Text.Pandoc.Definition

data Row #

Constructors

Row Attr [Cell] 

Instances

Instances details
FromJSON Row 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Row 
Instance details

Defined in Text.Pandoc.Definition

NFData Row 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Row -> () Source #

Data Row 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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 
Instance details

Defined in Text.Pandoc.Definition

Show Row 
Instance details

Defined in Text.Pandoc.Definition

Eq Row 
Instance details

Defined in Text.Pandoc.Definition

Methods

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

(/=) :: Row -> Row -> Bool Source #

Ord Row 
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 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Row -> m Row

query :: Monoid c => (Block -> c) -> Row -> c

Walkable Inline Row 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Row -> m Row

query :: Monoid c => (Inline -> c) -> Row -> c

Walkable [Block] Row 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Row -> m Row

query :: Monoid c => ([Block] -> c) -> Row -> c

Walkable [Inline] Row 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Row -> Row

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Row -> m Row

query :: Monoid c => ([Inline] -> c) -> Row -> c

type Rep Row 
Instance details

Defined in Text.Pandoc.Definition

type Rep Row = D1 ('MetaData "Row" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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 TableFoot #

Constructors

TableFoot Attr [Row] 

Instances

Instances details
FromJSON TableFoot 
Instance details

Defined in Text.Pandoc.Definition

ToJSON TableFoot 
Instance details

Defined in Text.Pandoc.Definition

NFData TableFoot 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: TableFoot -> () Source #

Data TableFoot 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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])))
Read TableFoot 
Instance details

Defined in Text.Pandoc.Definition

Show TableFoot 
Instance details

Defined in Text.Pandoc.Definition

Eq TableFoot 
Instance details

Defined in Text.Pandoc.Definition

Ord TableFoot 
Instance details

Defined in Text.Pandoc.Definition

Walkable Block TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableFoot -> m TableFoot

query :: Monoid c => (Block -> c) -> TableFoot -> c

Walkable Inline TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableFoot -> m TableFoot

query :: Monoid c => (Inline -> c) -> TableFoot -> c

Walkable [Block] TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableFoot -> m TableFoot

query :: Monoid c => ([Block] -> c) -> TableFoot -> c

Walkable [Inline] TableFoot 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> TableFoot -> TableFoot

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableFoot -> m TableFoot

query :: Monoid c => ([Inline] -> c) -> TableFoot -> c

type Rep TableFoot 
Instance details

Defined in Text.Pandoc.Definition

type Rep TableFoot = D1 ('MetaData "TableFoot" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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 TableBody #

Constructors

TableBody Attr RowHeadColumns [Row] [Row] 

Instances

Instances details
FromJSON TableBody 
Instance details

Defined in Text.Pandoc.Definition

ToJSON TableBody 
Instance details

Defined in Text.Pandoc.Definition

NFData TableBody 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: TableBody -> () Source #

Data TableBody 
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 
Instance details

Defined in Text.Pandoc.Definition

Read TableBody 
Instance details

Defined in Text.Pandoc.Definition

Show TableBody 
Instance details

Defined in Text.Pandoc.Definition

Eq TableBody 
Instance details

Defined in Text.Pandoc.Definition

Ord TableBody 
Instance details

Defined in Text.Pandoc.Definition

Walkable Block TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableBody -> m TableBody

query :: Monoid c => (Block -> c) -> TableBody -> c

Walkable Inline TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableBody -> m TableBody

query :: Monoid c => (Inline -> c) -> TableBody -> c

Walkable [Block] TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableBody -> m TableBody

query :: Monoid c => ([Block] -> c) -> TableBody -> c

Walkable [Inline] TableBody 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> TableBody -> TableBody

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableBody -> m TableBody

query :: Monoid c => ([Inline] -> c) -> TableBody -> c

type Rep TableBody 
Instance details

Defined in Text.Pandoc.Definition

data TableHead #

Constructors

TableHead Attr [Row] 

Instances

Instances details
FromJSON TableHead 
Instance details

Defined in Text.Pandoc.Definition

ToJSON TableHead 
Instance details

Defined in Text.Pandoc.Definition

NFData TableHead 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: TableHead -> () Source #

Data TableHead 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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])))
Read TableHead 
Instance details

Defined in Text.Pandoc.Definition

Show TableHead 
Instance details

Defined in Text.Pandoc.Definition

Eq TableHead 
Instance details

Defined in Text.Pandoc.Definition

Ord TableHead 
Instance details

Defined in Text.Pandoc.Definition

Walkable Block TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> TableHead -> m TableHead

query :: Monoid c => (Block -> c) -> TableHead -> c

Walkable Inline TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> TableHead -> m TableHead

query :: Monoid c => (Inline -> c) -> TableHead -> c

Walkable [Block] TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> TableHead -> m TableHead

query :: Monoid c => ([Block] -> c) -> TableHead -> c

Walkable [Inline] TableHead 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> TableHead -> TableHead

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> TableHead -> m TableHead

query :: Monoid c => ([Inline] -> c) -> TableHead -> c

type Rep TableHead 
Instance details

Defined in Text.Pandoc.Definition

type Rep TableHead = D1 ('MetaData "TableHead" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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 Pandoc #

Constructors

Pandoc Meta [Block] 

Instances

Instances details
FromJSON Pandoc 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Pandoc 
Instance details

Defined in Text.Pandoc.Definition

NFData Pandoc 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Pandoc -> () Source #

Monoid Pandoc 
Instance details

Defined in Text.Pandoc.Definition

Semigroup Pandoc 
Instance details

Defined in Text.Pandoc.Definition

Data Pandoc 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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])))
Read Pandoc 
Instance details

Defined in Text.Pandoc.Definition

Show Pandoc 
Instance details

Defined in Text.Pandoc.Definition

Eq Pandoc 
Instance details

Defined in Text.Pandoc.Definition

Ord Pandoc 
Instance details

Defined in Text.Pandoc.Definition

HasMeta Pandoc 
Instance details

Defined in Text.Pandoc.Builder

Methods

setMeta :: ToMetaValue b => Text -> b -> Pandoc -> Pandoc

deleteMeta :: Text -> Pandoc -> Pandoc

Walkable Block Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Pandoc -> m Pandoc

query :: Monoid c => (Block -> c) -> Pandoc -> c

Walkable Inline Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Pandoc -> m Pandoc

query :: Monoid c => (Inline -> c) -> Pandoc -> c

Walkable Meta Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Meta -> Meta) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (Meta -> m Meta) -> Pandoc -> m Pandoc

query :: Monoid c => (Meta -> c) -> Pandoc -> c

Walkable MetaValue Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (MetaValue -> MetaValue) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Pandoc -> m Pandoc

query :: Monoid c => (MetaValue -> c) -> Pandoc -> c

Walkable Pandoc Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Pandoc -> Pandoc) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (Pandoc -> m Pandoc) -> Pandoc -> m Pandoc

query :: Monoid c => (Pandoc -> c) -> Pandoc -> c

Walkable [Block] Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Pandoc -> m Pandoc

query :: Monoid c => ([Block] -> c) -> Pandoc -> c

Walkable [Inline] Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Pandoc -> m Pandoc

query :: Monoid c => ([Inline] -> c) -> Pandoc -> c

type Rep Pandoc 
Instance details

Defined in Text.Pandoc.Definition

type Rep Pandoc = D1 ('MetaData "Pandoc" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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])))

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

data Caption #

Constructors

Caption (Maybe ShortCaption) [Block] 

Instances

Instances details
FromJSON Caption 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Caption 
Instance details

Defined in Text.Pandoc.Definition

NFData Caption 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Caption -> () Source #

Data Caption 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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])))
Read Caption 
Instance details

Defined in Text.Pandoc.Definition

Show Caption 
Instance details

Defined in Text.Pandoc.Definition

Eq Caption 
Instance details

Defined in Text.Pandoc.Definition

Ord Caption 
Instance details

Defined in Text.Pandoc.Definition

Walkable Block Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Caption -> m Caption

query :: Monoid c => (Block -> c) -> Caption -> c

Walkable Inline Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Caption -> m Caption

query :: Monoid c => (Inline -> c) -> Caption -> c

Walkable [Block] Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Caption -> m Caption

query :: Monoid c => ([Block] -> c) -> Caption -> c

Walkable [Inline] Caption 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Caption -> Caption

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Caption -> m Caption

query :: Monoid c => ([Inline] -> c) -> Caption -> c

type Rep Caption 
Instance details

Defined in Text.Pandoc.Definition

type Rep Caption = D1 ('MetaData "Caption" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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])))

data Citation #

Instances

Instances details
FromJSON Citation 
Instance details

Defined in Text.Pandoc.Definition

ToJSON Citation 
Instance details

Defined in Text.Pandoc.Definition

NFData Citation 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: Citation -> () Source #

Data Citation 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel ('Just "citationHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 Int)))))
Read Citation 
Instance details

Defined in Text.Pandoc.Definition

Show Citation 
Instance details

Defined in Text.Pandoc.Definition

Eq Citation 
Instance details

Defined in Text.Pandoc.Definition

Ord Citation 
Instance details

Defined in Text.Pandoc.Definition

Walkable Block Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> Citation -> m Citation

query :: Monoid c => (Block -> c) -> Citation -> c

Walkable Inline Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> Citation -> m Citation

query :: Monoid c => (Inline -> c) -> Citation -> c

Walkable [Block] Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> Citation -> m Citation

query :: Monoid c => ([Block] -> c) -> Citation -> c

Walkable [Inline] Citation 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> Citation -> Citation

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> Citation -> m Citation

query :: Monoid c => ([Inline] -> c) -> Citation -> c

type Rep Citation 
Instance details

Defined in Text.Pandoc.Definition

type Rep Citation = D1 ('MetaData "Citation" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel ('Just "citationHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 Int)))))

data CitationMode #

Instances

Instances details
FromJSON CitationMode 
Instance details

Defined in Text.Pandoc.Definition

ToJSON CitationMode 
Instance details

Defined in Text.Pandoc.Definition

NFData CitationMode 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: CitationMode -> () Source #

Data CitationMode 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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)))
Read CitationMode 
Instance details

Defined in Text.Pandoc.Definition

Show CitationMode 
Instance details

Defined in Text.Pandoc.Definition

Eq CitationMode 
Instance details

Defined in Text.Pandoc.Definition

Ord CitationMode 
Instance details

Defined in Text.Pandoc.Definition

type Rep CitationMode 
Instance details

Defined in Text.Pandoc.Definition

type Rep CitationMode = D1 ('MetaData "CitationMode" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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)))

newtype ColSpan #

Constructors

ColSpan Int 

Instances

Instances details
FromJSON ColSpan 
Instance details

Defined in Text.Pandoc.Definition

ToJSON ColSpan 
Instance details

Defined in Text.Pandoc.Definition

NFData ColSpan 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: ColSpan -> () Source #

Data ColSpan 
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 
Instance details

Defined in Text.Pandoc.Definition

Generic ColSpan 
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.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "ColSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
Num ColSpan 
Instance details

Defined in Text.Pandoc.Definition

Read ColSpan 
Instance details

Defined in Text.Pandoc.Definition

Show ColSpan 
Instance details

Defined in Text.Pandoc.Definition

Eq ColSpan 
Instance details

Defined in Text.Pandoc.Definition

Ord ColSpan 
Instance details

Defined in Text.Pandoc.Definition

type Rep ColSpan 
Instance details

Defined in Text.Pandoc.Definition

type Rep ColSpan = D1 ('MetaData "ColSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "ColSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data ColWidth #

Instances

Instances details
FromJSON ColWidth 
Instance details

Defined in Text.Pandoc.Definition

ToJSON ColWidth 
Instance details

Defined in Text.Pandoc.Definition

NFData ColWidth 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: ColWidth -> () Source #

Data ColWidth 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" 'False) (C1 ('MetaCons "ColWidth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedUnpack) (Rec0 Double)) :+: C1 ('MetaCons "ColWidthDefault" 'PrefixI 'False) (U1 :: Type -> Type))
Read ColWidth 
Instance details

Defined in Text.Pandoc.Definition

Show ColWidth 
Instance details

Defined in Text.Pandoc.Definition

Eq ColWidth 
Instance details

Defined in Text.Pandoc.Definition

Ord ColWidth 
Instance details

Defined in Text.Pandoc.Definition

type Rep ColWidth 
Instance details

Defined in Text.Pandoc.Definition

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

data ListNumberDelim #

Instances

Instances details
FromJSON ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

ToJSON ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

NFData ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: ListNumberDelim -> () Source #

Data ListNumberDelim 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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)))
Read ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

Show ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

Eq ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

Ord ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberDelim 
Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberDelim = D1 ('MetaData "ListNumberDelim" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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)))

data ListNumberStyle #

Instances

Instances details
FromJSON ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

ToJSON ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

NFData ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: ListNumberStyle -> () Source #

Data ListNumberStyle 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" '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))))
Read ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

Show ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

Eq ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

Ord ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberStyle 
Instance details

Defined in Text.Pandoc.Definition

type Rep ListNumberStyle = D1 ('MetaData "ListNumberStyle" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" '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 MathType #

Constructors

DisplayMath 
InlineMath 

Instances

Instances details
FromJSON MathType 
Instance details

Defined in Text.Pandoc.Definition

ToJSON MathType 
Instance details

Defined in Text.Pandoc.Definition

NFData MathType 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: MathType -> () Source #

Data MathType 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" 'False) (C1 ('MetaCons "DisplayMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineMath" 'PrefixI 'False) (U1 :: Type -> Type))
Read MathType 
Instance details

Defined in Text.Pandoc.Definition

Show MathType 
Instance details

Defined in Text.Pandoc.Definition

Eq MathType 
Instance details

Defined in Text.Pandoc.Definition

Ord MathType 
Instance details

Defined in Text.Pandoc.Definition

type Rep MathType 
Instance details

Defined in Text.Pandoc.Definition

type Rep MathType = D1 ('MetaData "MathType" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" 'False) (C1 ('MetaCons "DisplayMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlineMath" 'PrefixI 'False) (U1 :: Type -> Type))

data MetaValue #

Instances

Instances details
FromJSON MetaValue 
Instance details

Defined in Text.Pandoc.Definition

ToJSON MetaValue 
Instance details

Defined in Text.Pandoc.Definition

NFData MetaValue 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: MetaValue -> () Source #

Data MetaValue 
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 
Instance details

Defined in Text.Pandoc.Definition

Read MetaValue 
Instance details

Defined in Text.Pandoc.Definition

Show MetaValue 
Instance details

Defined in Text.Pandoc.Definition

Eq MetaValue 
Instance details

Defined in Text.Pandoc.Definition

Ord MetaValue 
Instance details

Defined in Text.Pandoc.Definition

ToMetaValue MetaValue 
Instance details

Defined in Text.Pandoc.Builder

Walkable Block MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Block -> Block) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => (Block -> m Block) -> MetaValue -> m MetaValue

query :: Monoid c => (Block -> c) -> MetaValue -> c

Walkable Inline MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (Inline -> Inline) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => (Inline -> m Inline) -> MetaValue -> m MetaValue

query :: Monoid c => (Inline -> c) -> MetaValue -> c

Walkable MetaValue Meta 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (MetaValue -> MetaValue) -> Meta -> Meta

walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Meta -> m Meta

query :: Monoid c => (MetaValue -> c) -> Meta -> c

Walkable MetaValue MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (MetaValue -> MetaValue) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> MetaValue -> m MetaValue

query :: Monoid c => (MetaValue -> c) -> MetaValue -> c

Walkable MetaValue Pandoc 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: (MetaValue -> MetaValue) -> Pandoc -> Pandoc

walkM :: (Monad m, Applicative m, Functor m) => (MetaValue -> m MetaValue) -> Pandoc -> m Pandoc

query :: Monoid c => (MetaValue -> c) -> Pandoc -> c

Walkable [Block] MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Block] -> [Block]) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => ([Block] -> m [Block]) -> MetaValue -> m MetaValue

query :: Monoid c => ([Block] -> c) -> MetaValue -> c

Walkable [Inline] MetaValue 
Instance details

Defined in Text.Pandoc.Walk

Methods

walk :: ([Inline] -> [Inline]) -> MetaValue -> MetaValue

walkM :: (Monad m, Applicative m, Functor m) => ([Inline] -> m [Inline]) -> MetaValue -> m MetaValue

query :: Monoid c => ([Inline] -> c) -> MetaValue -> c

type Rep MetaValue 
Instance details

Defined in Text.Pandoc.Definition

data QuoteType #

Constructors

SingleQuote 
DoubleQuote 

Instances

Instances details
FromJSON QuoteType 
Instance details

Defined in Text.Pandoc.Definition

ToJSON QuoteType 
Instance details

Defined in Text.Pandoc.Definition

NFData QuoteType 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: QuoteType -> () Source #

Data QuoteType 
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 
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.1-7EsQOX1JvASJuDrNxfLPBC" 'False) (C1 ('MetaCons "SingleQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoubleQuote" 'PrefixI 'False) (U1 :: Type -> Type))
Read QuoteType 
Instance details

Defined in Text.Pandoc.Definition

Show QuoteType 
Instance details

Defined in Text.Pandoc.Definition

Eq QuoteType 
Instance details

Defined in Text.Pandoc.Definition

Ord QuoteType 
Instance details

Defined in Text.Pandoc.Definition

type Rep QuoteType 
Instance details

Defined in Text.Pandoc.Definition

type Rep QuoteType = D1 ('MetaData "QuoteType" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" 'False) (C1 ('MetaCons "SingleQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoubleQuote" 'PrefixI 'False) (U1 :: Type -> Type))

newtype RowHeadColumns #

Constructors

RowHeadColumns Int 

Instances

Instances details
FromJSON RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

ToJSON RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

NFData RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: RowHeadColumns -> () Source #

Data RowHeadColumns 
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 
Instance details

Defined in Text.Pandoc.Definition

Generic RowHeadColumns 
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.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "RowHeadColumns" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
Num RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

Read RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

Show RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

Eq RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

Ord RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

type Rep RowHeadColumns 
Instance details

Defined in Text.Pandoc.Definition

type Rep RowHeadColumns = D1 ('MetaData "RowHeadColumns" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "RowHeadColumns" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

newtype RowSpan #

Constructors

RowSpan Int 

Instances

Instances details
FromJSON RowSpan 
Instance details

Defined in Text.Pandoc.Definition

ToJSON RowSpan 
Instance details

Defined in Text.Pandoc.Definition

NFData RowSpan 
Instance details

Defined in Text.Pandoc.Definition

Methods

rnf :: RowSpan -> () Source #

Data RowSpan 
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 
Instance details

Defined in Text.Pandoc.Definition

Generic RowSpan 
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.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "RowSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
Num RowSpan 
Instance details

Defined in Text.Pandoc.Definition

Read RowSpan 
Instance details

Defined in Text.Pandoc.Definition

Show RowSpan 
Instance details

Defined in Text.Pandoc.Definition

Eq RowSpan 
Instance details

Defined in Text.Pandoc.Definition

Ord RowSpan 
Instance details

Defined in Text.Pandoc.Definition

type Rep RowSpan 
Instance details

Defined in Text.Pandoc.Definition

type Rep RowSpan = D1 ('MetaData "RowSpan" "Text.Pandoc.Definition" "pandoc-types-1.23.1.1-7EsQOX1JvASJuDrNxfLPBC" 'True) (C1 ('MetaCons "RowSpan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

bottomUp :: (Data a, Data b) => (a -> a) -> b -> b #

bottomUpM :: (Monad m, Data a, Data b) => (a -> m a) -> b -> m b #

queryWith :: (Data a, Monoid b, Data c) => (a -> b) -> c -> b #

topDown :: (Data a, Data b) => (a -> a) -> b -> b #