[commit: ghc] master: Remove redundant "Minimal complete definition"-comments (1408c8d)
git at git.haskell.org
git at git.haskell.org
Tue Nov 4 11:33:47 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1408c8dcd4ccf3c4f418ca8dd13516efb604922f/ghc
>---------------------------------------------------------------
commit 1408c8dcd4ccf3c4f418ca8dd13516efb604922f
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Tue Nov 4 11:43:29 2014 +0100
Remove redundant "Minimal complete definition"-comments
Those manual descriptions in Haddock strings have become redundant since
Haddock gained the ability to print the minimal complete definition as
specified via `{-# MINIMAL #-}` annotation (or otherwise inferred by
GHC).
Moreover, this commit moves all `{-# MINIMAL #-}` annotations in `base`
to the start of the respective `class` definitions, as this is more
readable and matches more closely the way Haddock renders that
information.
>---------------------------------------------------------------
1408c8dcd4ccf3c4f418ca8dd13516efb604922f
libraries/base/Control/Arrow.hs | 4 ++--
libraries/base/Control/Monad/Zip.hs | 2 +-
libraries/base/Data/Foldable.hs | 2 --
libraries/base/Data/Traversable.hs | 5 ++---
libraries/base/Foreign/Storable.hs | 11 +++--------
libraries/base/GHC/Base.lhs | 6 ------
libraries/base/GHC/Float.lhs | 7 -------
libraries/base/GHC/Num.lhs | 5 ++---
libraries/base/GHC/Read.lhs | 5 ++---
libraries/base/GHC/Real.lhs | 9 ++-------
libraries/base/GHC/Show.lhs | 5 ++---
11 files changed, 16 insertions(+), 45 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 1408c8dcd4ccf3c4f418ca8dd13516efb604922f
More information about the ghc-commits
mailing list