RE: problems invoking haddock
I was not able to make Haddock run... Invoking it for a simple hello world example
module Main where
main :: IO() main = putStrLn "Hello World"
gives me the following errors:
Warning: module not found: Prelude Warning: Main: the following names could not be resolved: IO Prelude.()
Fail: does not exist Action: openFile Reason: No such file or directory File: /usr/local/lib/haddock-0.4/haddock.css
Sounds like Haddock isn't installed properly. What procedure did you use to build/install it? Cheers, Simon
Sounds like Haddock isn't installed properly. What procedure did you use to build/install it?
I used the "./configure + make + make install" recipe as told by the README file. Everything went ok except for some warnings like: HsParser.hs:4408: Warning: Pattern match(es) are overlapped In a case alternative EOF: _ -> ... Binary.hs:509: Warning: Variable `word8ToWord' is deprecated: use fromIntegral instead Is Haddock compatible with Cygwin? Cheers, -- Andre
participants (2)
-
Andre W B Furtado -
Simon Marlow