[GHC] #15690: Add Eq1/Ord1/Read1/Show1 instances to newtypes in Data.Semigroup

GHC ghc-devs at haskell.org
Sat Sep 29 18:47:50 UTC 2018


#15690: Add Eq1/Ord1/Read1/Show1 instances to newtypes in Data.Semigroup
-------------------------------------+-------------------------------------
           Reporter:  Bodigrim       |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:  8.8.1
          Component:                 |           Version:  8.6.1
  libraries/base                     |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 I'd like to have `Eq1`/`Ord1`/`Read1`/`Show1` instances for newtypes in
 `Data.Semigroup`, at least for `Min`, `Max` and `Option`. Is there a
 specific reason for their absence? If no, I'll be happy to prepare a PR.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15690>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list