[GHC] #11790: (More) missing instances for Identity and Const
GHC
ghc-devs at haskell.org
Mon Apr 11 01:16:17 UTC 2016
#11790: (More) missing instances for Identity and Const
-------------------------------------+-------------------------------------
Reporter: duairc | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2079
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"8b57cac5974c9fffccbcae3104b5b5d18760749e/ghc" 8b57cac/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="8b57cac5974c9fffccbcae3104b5b5d18760749e"
Added (more) missing instances for Identity and Const
* `Identity` and `Const` now have `Num`, `Real`, `Integral`,
`Fractional`, `Floating`, `RealFrac` and `RealFloat` instances
* `Identity` and `Const` now have `Bits` and `FiniteBits` instances
* `Identity` and `Const` now have `IsString` instances
Reviewers: RyanGlScott, austin, hvr, bgamari, ekmett
Reviewed By: ekmett
Subscribers: nomeata, ekmett, RyanGlScott, thomie
Differential Revision: https://phabricator.haskell.org/D2079
GHC Trac Issues: #11790
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11790#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list