CVS HDirect with GHC5.00 on WinNT

Sigbjorn Finne sof at galconn.com
Tue Jul 3 03:25:17 EDT 2001


Mike Thomas miketh at brisbane.paradigmgeo.com writes:
>
 ...
>  /usr/local/bin/ghc   -cpp ....  -c ComPrim.hs -o ComPrim.o
>
   ...
>
>
> ComPrim.hs:70:
>     Couldn't match `Exception' against `Maybe FilePath -> IOException'
>         Expected type: Exception
>         Inferred type: Maybe FilePath -> IOException
>     Probable cause: `IOError' is applied to too few arguments in the call
>         (IOError Nothing (ComError (toInt hr)) "" msg)
>    In the first argument of `ioError', namely
>         `(IOError Nothing (ComError (toInt hr)) "" msg)'
> make[1]: *** [ComPrim.o] Error 1

Hi,

I've checked in a fix for this, making hdirect/lib coexist with both
ghc-4.xx
and ghc-5.xx IOError representations. Thanks for reporting the problem

--sigbjorn






More information about the Glasgow-haskell-bugs mailing list