Safe Haskell | Safe |
---|---|
Language | Haskell98 |
We do not define a tag data type here, since this is too much bound to the particular use (e.g. list or tree structure). However we define a tag name and some special names.
Synopsis
- newtype Name ident = Name {
- unname :: ident
- doctype :: Tag name => Name name
- doctypeName :: Tag name => Name name
- doctypeString :: String
- cdata :: Tag name => Name name
- cdataName :: Tag name => Name name
- cdataString :: String
- xmlName :: Tag name => Name name
- xmlString :: String
- maybeXMLEncoding :: (Tag name, Attribute name) => Name name -> T name string -> Maybe string
Documentation
Instances
Eq ident => Eq (Name ident) Source # | |
Ord ident => Ord (Name ident) Source # | |
Show ident => Show (Name ident) Source # | |
Tag ident => C (Name ident) Source # | |
doctypeName :: Tag name => Name name Source #
cdataString :: String Source #