Yep, that does seem to be the case - cabal shows "Versions installed: 8.5.4, 9.1.6". The module referenced in the website example - Text.XML.HXT.DOM.XmlTreeFilter and function isXText - has only old packages, so when installing hxt I got version 9.1.6, but from hxt-filter I got hxt 8.5.4, so that's why the example fails. Peteris On Mon, Jan 30, 2012 at 3:42 PM, Johannes Waldmann <waldmann@imn.htwk-leipzig.de> wrote:
Couldn't match expected type `Data.Tree.NTree.TypeDefs.NTree XNode' with actual type `hxt-8.5.4:Data.Tree.NTree.TypeDefs.NTree hxt-8.5.4:Text.XML.HXT.DOM.TypeDefs.XNode'
perhaps you have installed several (conflicting) versions of packages.
I use hxt >= 9, and here is some example code: http://dfa.imn.htwk-leipzig.de/cgi-bin/gitweb.cgi?p=tpdb.git;a=tree;f=TPDB/X...
Best - J.W.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe