[Haskell-cafe] Stuck on HXT basics
peterisp at gmail.com
Mon Jan 30 14:56:33 CET 2012
Yep, that does seem to be the case - cabal shows "Versions installed:
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.
On Mon, Jan 30, 2012 at 3:42 PM, Johannes Waldmann
<waldmann at 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
> perhaps you have installed several (conflicting) versions of packages.
> I use hxt >= 9, and here is some example code:
> Best - J.W.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe