[commit: ghc] master: Add @since annotations for derived instances in base (5c28ee8)

git at git.haskell.org git at git.haskell.org
Fri Mar 2 21:54:06 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5c28ee88dd66617b0fd5dbe0d90142ce983a547e/ghc

>---------------------------------------------------------------

commit 5c28ee88dd66617b0fd5dbe0d90142ce983a547e
Author: Chaitanya Koparkar <ckoparkar at gmail.com>
Date:   Fri Mar 2 16:12:56 2018 -0500

    Add @since annotations for derived instances in base
    
    Test Plan: ./validate
    
    Reviewers: hvr, goldfire, bgamari, RyanGlScott
    
    Reviewed By: RyanGlScott
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #11767
    
    Differential Revision: https://phabricator.haskell.org/D4452


>---------------------------------------------------------------

5c28ee88dd66617b0fd5dbe0d90142ce983a547e
 libraries/base/Control/Applicative.hs          |  20 ++-
 libraries/base/Control/Concurrent/Chan.hs      |   2 +-
 libraries/base/Data/Complex.hs                 |  12 +-
 libraries/base/Data/Data.hs                    |  14 +-
 libraries/base/Data/Either.hs                  |   7 +-
 libraries/base/Data/Fixed.hs                   |   6 +-
 libraries/base/Data/Foldable.hs                |  27 ++++
 libraries/base/Data/Functor/Compose.hs         |   5 +-
 libraries/base/Data/Functor/Const.hs           |  23 ++-
 libraries/base/Data/Functor/Identity.hs        |  23 ++-
 libraries/base/Data/Functor/Product.hs         |   5 +-
 libraries/base/Data/Functor/Sum.hs             |   5 +-
 libraries/base/Data/Monoid.hs                  |  24 ++-
 libraries/base/Data/Ord.hs                     |  10 +-
 libraries/base/Data/Proxy.hs                   |   4 +-
 libraries/base/Data/Semigroup.hs               |  70 +++++++--
 libraries/base/Data/Semigroup/Internal.hs      |  64 +++++++-
 libraries/base/Data/String.hs                  |   2 +
 libraries/base/Data/Traversable.hs             |  28 ++++
 libraries/base/Data/Type/Coercion.hs           |   5 +
 libraries/base/Data/Type/Equality.hs           |   5 +
 libraries/base/Data/Version.hs                 |   5 +-
 libraries/base/GHC/Base.hs                     |   8 +-
 libraries/base/GHC/ByteOrder.hs                |   8 +-
 libraries/base/GHC/Conc/Sync.hs                |  10 +-
 libraries/base/GHC/Conc/Windows.hs             |   7 +-
 libraries/base/GHC/Event/Control.hs            |   4 +-
 libraries/base/GHC/Event/EPoll.hsc             |   7 +-
 libraries/base/GHC/Event/Internal.hs           |  16 +-
 libraries/base/GHC/Event/KQueue.hsc            |  25 ++-
 libraries/base/GHC/Event/Manager.hs            |   8 +-
 libraries/base/GHC/Event/Poll.hsc              |  10 +-
 libraries/base/GHC/Event/TimerManager.hs       |   6 +-
 libraries/base/GHC/Event/Unique.hs             |   5 +-
 libraries/base/GHC/Exception.hs                |   8 +-
 libraries/base/GHC/Exts.hs                     |   4 +-
 libraries/base/GHC/Fingerprint/Type.hs         |   4 +-
 libraries/base/GHC/Generics.hs                 | 210 ++++++++++++++++++++++---
 libraries/base/GHC/IO.hs                       |   4 +-
 libraries/base/GHC/IO/Buffer.hs                |   3 +-
 libraries/base/GHC/IO/Device.hs                |  11 +-
 libraries/base/GHC/IO/Encoding/Failure.hs      |   3 +-
 libraries/base/GHC/IO/Encoding/Types.hs        |   4 +-
 libraries/base/GHC/IO/Exception.hs             |   8 +-
 libraries/base/GHC/IO/Handle/Lock.hsc          |   3 +-
 libraries/base/GHC/IO/Handle/Types.hs          |  18 ++-
 libraries/base/GHC/IO/IOMode.hs                |   8 +-
 libraries/base/GHC/IORef.hs                    |   2 +-
 libraries/base/GHC/Natural.hs                  |   6 +-
 libraries/base/GHC/Ptr.hs                      |   5 +-
 libraries/base/GHC/RTS/Flags.hsc               |  42 +++--
 libraries/base/GHC/Read.hs                     |   2 +
 libraries/base/GHC/Real.hs                     |   2 +-
 libraries/base/GHC/Show.hs                     |  15 ++
 libraries/base/GHC/Stable.hs                   |   2 +-
 libraries/base/GHC/Stack/Types.hs              |   2 +-
 libraries/base/GHC/StaticPtr.hs                |   2 +-
 libraries/base/GHC/Stats.hsc                   |   8 +-
 libraries/base/GHC/Unicode.hs                  |   9 +-
 libraries/base/System/Timeout.hs               |   4 +-
 libraries/base/Text/ParserCombinators/ReadP.hs |   2 +-
 libraries/base/Text/Read/Lex.hs                |  10 +-
 62 files changed, 734 insertions(+), 147 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5c28ee88dd66617b0fd5dbe0d90142ce983a547e


More information about the ghc-commits mailing list