Ticket #5667 (closed feature request: wontfix)

Opened 18 months ago

Last modified 16 months ago

Data.Unique.Unique and Data.Graph.SCC are not instances of Show

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

Description

These two types are not currently instances of Show, and having that would be useful for debugging. The instances can both be derived (even using deriving instance in a separate module).

Change History

Changed 18 months ago by jewillco

It turns out that the instance for Unique needs to be written manually (using hashUnique) outside its module, but it can probably derived in Data.Unique because that module has access to the constructor(s) of Unique.

Changed 17 months ago by igloo

  • status changed from new to patch
  • difficulty set to Unknown
  • milestone set to 7.6.1

Changed 16 months ago by igloo

  • status changed from patch to closed
  • resolution set to wontfix

Thanks for the suggestion, but please see  http://www.haskell.org/haskellwiki/Library_submissions for the procedure for proposing library changes. In particular, the changes should be discussed by mail before filing a ticket.

Also, these two should really be handled separately - especially as they are in different libraries.

Note: See TracTickets for help on using tickets.