haddock-library-1.10.0: Library exposing some functionality of Haddock.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Documentation.Haddock.Doc

Synopsis

Documentation

docParagraph :: DocH mod id -> DocH mod id Source #

docAppend :: DocH mod id -> DocH mod id -> DocH mod id Source #

docConcat :: [DocH mod id] -> DocH mod id Source #

metaDocConcat :: [MetaDoc mod id] -> MetaDoc mod id Source #

Like docConcat but also joins the Meta info.

metaDocAppend :: MetaDoc mod id -> MetaDoc mod id -> MetaDoc mod id Source #

We do something perhaps unexpected here and join the meta info in ‘reverse’: this results in the metadata from the ‘latest’ paragraphs taking precedence.

metaAppend :: Meta -> Meta -> Meta Source #

This is not a monoidal append, it uses <|> for the _version and _package.

metaConcat :: [Meta] -> Meta Source #

Concat using metaAppend.