Ticket #2261 (closed proposal: wontfix)

Opened 5 years ago

Last modified 5 years ago

Foreign.C.Error.Errno should be an instance of (Eq,Ord, Show... others?)

Reported by: TomMD Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 6.8.2
Keywords: Foreign, Errno Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Errno, the Haskell encapsulation of the CInt 'errno' value, should be an instance of the commonly used type classes so higher level data structures that include it aren't bothered.

This change will break code that has custom instances for Errno, but this should be little, if any, code.

Attachments

ErrnoDeriving.patch Download (85.6 KB) - added by TomMD 5 years ago.
Pay no attention to the previous patch - this on actually compiles ;-)

Change History

Changed 5 years ago by TomMD

Pay no attention to the previous patch - this on actually compiles ;-)

Changed 5 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to wontfix

Please use  http://www.haskell.org/haskellwiki/Library_submissions if you want to propose this.

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Multiple to Unknown/Multiple
Note: See TracTickets for help on using tickets.