
9 Jun
2010
9 Jun
'10
8:56 p.m.
Hello, I have a strange issue which sprang today out of nowhere. When I load a certain file using bytestring package in Ghci using emacs, I got the following error: Couldn't match expected type `Data.ByteString.Internal.ByteString' against inferred type `bytestring-0.9.1.4:Data.ByteString.Internal.ByteString' In the second argument of `hPutStrLn', namely `(fromString msgs)' In a stmt of a 'do' expression: hPutStrLn cnx (fromString msgs) The same file compiles fine on the command-line. I have a single installation of haskell platform, using ghc 6.10.4, on windows XP. Thanks for any help, Arnaud Bailly