Skip to content

instance Eq IOError missing

An instance Eq IOError should be in the Prelude
according to the Haskell report, but it isn't in ghc.
The following program fails (but works fine in nhc98
;-)

main = putStr "Test"

f :: IOError -> IOError -> Bool
f = (==)


Ciao
Olaf
Trac metadata
Trac field Value
Version 5.02
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Prelude
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information