[Haskell-cafe] Stuck on HXT basics

Albert Y. C. Lai trebla at vex.net
Wed Feb 1 02:40:52 CET 2012


On 12-01-30 08:06 AM, Pēteris Paikens wrote:
> import Text.XML.HXT.Core
> import Text.XML.HXT.DOM.XmlTreeFilter
> selectAllText	:: ArrowXml a =>  a XmlTree XmlTree
> selectAllText  = deep isXText

Delete "import Text.XML.HXT.DOM.XmlTreeFilter". Change "isXText" to 
"isText". That is,

import Text.XML.HXT.Core
selectAllText :: ArrowXml a =>  a XmlTree XmlTree
selectAllText = deep isText

I am going to change that on Haskell Wiki.




More information about the Haskell-Cafe mailing list