Ticket #5092 (closed feature request: fixed)

Opened 2 years ago

Last modified 2 years ago

Remove Show instance for GHC.Event.IOCallback

Reported by: basvandijk Owned by: igloo
Priority: normal Milestone:
Component: libraries/base Version: 7.0.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Conal  reported that the Show instance for IOCallback conflicts with the more general instance Show (a -> b) defined in Text.Show.Functions.

The attached patch removes the Show instance for IOCallback like Bryan propsed. It also removes the Show instance for FdData since that type contains an IOCallback. I don't think this matters because FdData is an internal type.

Attachments

0001-Removed-Show-instance-for-IOCallback-and-FdData.patch Download (1.1 KB) - added by basvandijk 2 years ago.
git patch

Change History

Changed 2 years ago by basvandijk

git patch

Changed 2 years ago by tibbe

Looks good to me.

Changed 2 years ago by igloo

  • owner set to igloo

Changed 2 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Applied, thanks

Note: See TracTickets for help on using tickets.