Classes for Documentable
types.
- class Documentable a where
- emptydoc :: Documentable a => a
- dunlines :: Documentable a => [a] -> a
- class Documentable a => DocTitled a where
- class Documentable a => DocLinked a where
- class Documentable a => DocList a where
Documentable
class
class Documentable a whereSource
Class for types that represents a documentation text. Minimal complete definition: All except lnappend
.
Every instance of Documentable
class can be an instance of Monoid
class.
emptydoc :: Documentable a => aSource
An empty documentation.
dunlines :: Documentable a => [a] -> aSource
Documentable
version of unlines
.
Specific Documentable
class.
class Documentable a => DocTitled a whereSource
Documentable
types with titles.
class Documentable a => DocLinked a whereSource
Documentable
types with links.
class Documentable a => DocList a whereSource
Documentable
types with lists.