| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||
| Type classes to allow for XML handling functions to be generalized to work with different document types. | |||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||||
| data XMLDeclaration text | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| data DocumentTypeDeclaration c tag text | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| data Misc text | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| type family NodeType d :: (* -> *) -> * -> * -> * | |||||||||||||||||||||||||||||
| class (Functor c, List c, NodeClass (NodeType d) c) => DocumentClass d c where | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| mkPlainDocument :: DocumentClass d c => NodeType d c tag text -> d c tag text | |||||||||||||||||||||||||||||
| Make a document with the specified root node and all other information set to defaults. | |||||||||||||||||||||||||||||
| modifyXMLDeclaration :: DocumentClass d c => (Maybe (XMLDeclaration text) -> Maybe (XMLDeclaration text)) -> d c tag text -> d c tag text | |||||||||||||||||||||||||||||
| modifyDocumentTypeDeclaration :: DocumentClass d c => (Maybe (DocumentTypeDeclaration c tag text) -> Maybe (DocumentTypeDeclaration c tag text)) -> d c tag text -> d c tag text | |||||||||||||||||||||||||||||
| modifyTopLevelMiscs :: DocumentClass d c => (c (Misc text) -> c (Misc text)) -> d c tag text -> d c tag text | |||||||||||||||||||||||||||||
| modifyRoot :: DocumentClass d c => (NodeType d c tag text -> NodeType d c tag text) -> d c tag text -> d c tag text | |||||||||||||||||||||||||||||
| Produced by Haddock version 2.7.2 |