[Haskell-beginners] Cabal on mac

Tim Pizey timp at paneris.org
Fri Nov 25 01:32:13 CET 2011


Hi,

I have installed cabal and HaxMl

cabal install HaXml

but my .hs file cannot find

import Text.XML.HaXml.Xml2Haskell (readXml)

giving

*** Chasing dependencies:
Chasing modules from: *ch.hs

ch.hs:3:8:
    Could not find module `Text.XML.HaXml.Xml2Haskell':
      locations searched:
        Text/XML/HaXml/Xml2Haskell.hs
        Text/XML/HaXml/Xml2Haskell.lhs

It would seem only to be looking in the current directory.

Hoping I have just missed something obvious.
Tim

-- 
Tim Pizey
http://pizey.net/~timp



More information about the Beginners mailing list