• duairc's avatar
    Added missing instances for Identity and Const (#11210) · 2dff6c18
    duairc authored
    The following instances are added
    
        instance Bounded a => Bounded (Const a b)
        instance Enum a => Enum (Const a b)
        instance Ix a => Ix (Const a b)
        instance Storable a => Storable (Const a b)
    
        instance Bounded a => Bounded (Identity a)
        instance Enum a => Enum (Identity a)
        instance Ix a => Ix (Identity a)
        instance Semigroup a => Semigroup (Identity a)
        instance Storable a => Storable (Identity a)
    
    Reviewers: ekmett, RyanGlScott, rwbarton, hvr, austin, bgamari
    
    Reviewed By: RyanGlScott, hvr
    
    Subscribers: rwbarton, RyanGlScott, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1626
    
    GHC Trac Issues: #11210
    2dff6c18
To find the state of this project's repository at the time of any of these versions, check out the tags..
changelog.md 16.2 KB