[GHC] #8797: Generics instances for monoid and applicative newtypes

GHC ghc-devs at haskell.org
Fri Feb 28 19:06:48 UTC 2014


#8797: Generics instances for monoid and applicative newtypes
-------------------------------+-------------------------------------------
        Reporter:  jcristovao  |            Owner:
            Type:  feature     |           Status:  new
  request                      |        Milestone:
        Priority:  normal      |          Version:  7.6.3
       Component:              |         Keywords:
  libraries/base               |     Architecture:  Unknown/Multiple
      Resolution:              |       Difficulty:  Easy (less than 1 hour)
Operating System:              |       Blocked By:
  Unknown/Multiple             |  Related Tickets:
 Type of failure:              |
  None/Unknown                 |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by ekmett):

 FWIW- The committee is in favor of adding the `Generic`, `Generic1`,
 `Data` and `Typeable` instances along with `Num` for `Sum` and `Product`.

 Do we want to try to pester Austin at the 11th hour to add them to the 7.8
 release candidate or hold off a year for 7.10?

 The former has the benefit of, well, being a year sooner, but it may be
 that that ship has already sailed.

 Moreover, it'd means you can't write code that needs those instances and
 which works with both the 7.8.1-release candidates and the final release.

 On the other hand, once we have 7.8.1 the release candidates will have
 done their job and will be a non-issue.

 At this point I defer to Austin about the viability of packaging it up now
 or if we should wait.

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


More information about the ghc-tickets mailing list