[Haskell-cafe] Strange discrepancy between Emacs interpreter and
command-line on windows
Arnaud Bailly
arnaud.oqube at gmail.com
Wed Jun 9 16:56:12 EDT 2010
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
More information about the Haskell-Cafe
mailing list