Opened 12 years ago

Closed 12 years ago

Last modified 3 months ago

#37 closed bug (Fixed)

instance Eq IOError missing

Reported by: nobody Owned by: simonmar
Priority: normal Milestone:
Component: Prelude Version: 5.02
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

Change History (2)

comment:1 Changed 12 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

Added, thanks.

comment:2 Changed 3 months ago by simonpj <simonpj@…>

Note: See TracTickets for help on using tickets.