[commit: packages/base] master: Rename (:=:) to (:~:) and add Data.Type.Coercion (6ecc077)

git at git.haskell.org git
Wed Oct 9 12:36:26 UTC 2013


Repository : ssh://git at git.haskell.org/base

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6ecc0777736366d3a41db167aa56817c2cf512d2/base

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

commit 6ecc0777736366d3a41db167aa56817c2cf512d2
Author: Edward Kmett <ekmett at gmail.com>
Date:   Tue Oct 8 21:22:14 2013 -0400

    Rename (:=:) to (:~:) and add Data.Type.Coercion
    
    Bikeshed color chosen by core libraries committee
    
    Knock-on effects:
    
    * Made the instances for Read, Enum, Data and Bounded for (:~:) more robust
    * Renamed Data.Type.Equality.coerce to subst. It collided with GHC.Prim.coerce from Coercible.
    
    Signed-off-by: Austin Seipp <aseipp at pobox.com>


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

6ecc0777736366d3a41db167aa56817c2cf512d2
 Control/Category.hs       |    8 +++-
 Data/Data.hs              |   28 +++++++++++--
 Data/Type/Coercion.hs     |   96 +++++++++++++++++++++++++++++++++++++++++++++
 Data/Type/Equality.hs     |   50 +++++++++++------------
 Data/Typeable.hs          |   10 ++---
 Data/Typeable/Internal.hs |    4 +-
 GHC/Read.lhs              |    2 +-
 base.cabal                |    1 +
 8 files changed, 162 insertions(+), 37 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 6ecc0777736366d3a41db167aa56817c2cf512d2



More information about the ghc-commits mailing list