Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Internal module, exposing the Builder(..) type, you should
prefer using mapBuilder
,
or adding something to Utils
.
Documentation
newtype BuilderM el a Source #
The pandoc element builder type. It wraps a writer monad.
Chances are, you only need Builder
(a 'BuilderM el ()').
All builders in this library have an el
type in the set
{Inline
, Block
}.
Instances
IsString (Builder Block) Source # | |
Defined in Text.Pandoc.Builder.Monadic.Verbatim fromString :: String -> Builder Block # | |
IsString (Builder Inline) Source # | |
Defined in Text.Pandoc.Builder.Monadic.Verbatim fromString :: String -> Builder Inline # | |
Applicative (BuilderM el) Source # | |
Defined in Text.Pandoc.Builder.Monadic.Internal | |
Functor (BuilderM el) Source # | |
Monad (BuilderM el) Source # | |
ToMetaValue (Builder (Builder Inline)) Source # | Useful for setting authors |
Defined in Text.Pandoc.Builder.Monadic.Internal | |
ToMetaValue (Builder Inline) Source # | |
Defined in Text.Pandoc.Builder.Monadic.Internal toMetaValue :: Builder Inline -> MetaValue # | |
Monoid a => Monoid (BuilderM el a) Source # | |
Semigroup (BuilderM el a) Source # | |
runToDList :: Builder el -> DList el Source #
Get elements written in the Builder
as a difference list