| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Data.XML.Parser.Low.Entity
Description
Utilities to handle entity references.
Synopsis
- newtype EntityDecoder = EntityDecoder {
- runEntityDecoder :: Text -> Maybe Text
 
 - decodePredefinedEntities :: EntityDecoder
 - decodeHtmlEntities :: EntityDecoder
 
Documentation
newtype EntityDecoder Source #
A function that describes how to expand entity references.
Constructors
| EntityDecoder | |
Fields 
  | |
Instances
| Semigroup EntityDecoder Source # | Can be combined with '(<>)' to try multiple decoders, from left to right.  | 
Defined in Data.XML.Parser.Low.Entity Methods (<>) :: EntityDecoder -> EntityDecoder -> EntityDecoder # sconcat :: NonEmpty EntityDecoder -> EntityDecoder # stimes :: Integral b => b -> EntityDecoder -> EntityDecoder #  | |
| Monoid EntityDecoder Source # | |
Defined in Data.XML.Parser.Low.Entity Methods mempty :: EntityDecoder # mappend :: EntityDecoder -> EntityDecoder -> EntityDecoder # mconcat :: [EntityDecoder] -> EntityDecoder #  | |