pandoc-crossref-0.3.16.0: Pandoc filter for cross-references
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Pandoc.CrossRef.References.Monad

Documentation

newtype WS a Source #

Constructors

WS 

Instances

Instances details
Applicative WS Source # 
Instance details

Defined in Text.Pandoc.CrossRef.References.Monad

Methods

pure :: a -> WS a #

(<*>) :: WS (a -> b) -> WS a -> WS b #

liftA2 :: (a -> b -> c) -> WS a -> WS b -> WS c #

(*>) :: WS a -> WS b -> WS b #

(<*) :: WS a -> WS b -> WS a #

Functor WS Source # 
Instance details

Defined in Text.Pandoc.CrossRef.References.Monad

Methods

fmap :: (a -> b) -> WS a -> WS b #

(<$) :: a -> WS b -> WS a #

Monad WS Source # 
Instance details

Defined in Text.Pandoc.CrossRef.References.Monad

Methods

(>>=) :: WS a -> (a -> WS b) -> WS b #

(>>) :: WS a -> WS b -> WS b #

return :: a -> WS a #

MonadReader Options WS Source # 
Instance details

Defined in Text.Pandoc.CrossRef.References.Monad

Methods

ask :: WS Options #

local :: (Options -> Options) -> WS a -> WS a #

reader :: (Options -> a) -> WS a #

MonadState References WS Source # 
Instance details

Defined in Text.Pandoc.CrossRef.References.Monad

Methods

get :: WS References #

put :: References -> WS () #

state :: (References -> (a, References)) -> WS a #