[Haskell-cafe] Stuck on HXT basics

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Mon Jan 30 14:42:19 CET 2012


>     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/XTC;hb=master

Best - J.W.





More information about the Haskell-Cafe mailing list