Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
hread :: ArrowXml a => a String XmlTreehxt Text.XML.HXT.Arrow.ReadDocument parse a string as HTML content, substitute all HTML entity refs and canonicalize tree. (substitute char refs, ...). Errors are ignored. This arrow delegates all work to the parseHtmlContent parser in module HtmlParser. This is a simpler version of readFromString without any options, but it does not run in the IO monad.
hreadDoc :: ArrowXml a => a String XmlTreehxt Text.XML.HXT.Arrow.ReadDocument like hread, but accepts a whole document, not a HTML content
xread :: ArrowXml a => a String XmlTreehxt Text.XML.HXT.Arrow.ReadDocument parse a string as XML CONTENT, (no xml decl or doctype decls are allowed), substitute all predefined XML entity refs and canonicalize tree This xread arrow delegates all work to the xread parser function in module XmlParsec
xreadDoc :: ArrowXml a => a String XmlTreehxt Text.XML.HXT.Arrow.ReadDocument a more general version of xread which parses a whole document including a prolog (xml decl, doctype decl) and processing instructions. Doctype decls remain uninterpreted, but are in the list of results trees.
dummyCacheRead :: String -> IOSArrow b bhxt Text.XML.HXT.Arrow.XmlState.RunIOStateArrow No documentation available.
theCacheRead :: Selector XIOSysState (String -> IOSArrow XmlTree XmlTree)hxt Text.XML.HXT.Arrow.XmlState.TypeDefs No documentation available.
xioCacheRead :: XIOCacheConfig -> String -> IOSArrow XmlTree XmlTreehxt Text.XML.HXT.Arrow.XmlState.TypeDefs No documentation available.
-
hxt Text.XML.HXT.Parser.XmlParsec the inverse function to xshow, (for XML content). the string parameter is parsed with the XML content parser. result is the list of trees or in case of an error a single element list with the error message as node. No entity or character subtitution is done here, but the XML parser can do this for the predefined XML or the char references for performance reasons see also: parseXmlContent
xreadDoc :: String -> XmlTreeshxt Text.XML.HXT.Parser.XmlParsec No documentation available.
showReadLaws :: (Show a, Read a, Eq a, Arbitrary a) => Proxy a -> Lawsquickcheck-classes-base Test.QuickCheck.Classes.Base Tests the following properties:
- Partial Isomorphism: show / read readMaybe (show a) ≡ Just a
- Partial Isomorphism: show / read with initial space readMaybe (" " ++ show a) ≡ Just a
- Partial Isomorphism: showsPrec / readsPrec (a,"") `elem` readsPrec p (showsPrec p a "")
- Partial Isomorphism: showList / readList (as,"") `elem` readList (showList as "")
- Partial Isomorphism: showListWith shows / readListDefault (as,"") `elem` readListDefault (showListWith shows as "")