[commit: ghc] master: Introduce GHC.TypeNats module, change KnownNat evidence to be Natural (1fcede4)

git at git.haskell.org git at git.haskell.org
Thu Feb 2 04:38:16 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1fcede43d2b30f33b7505e25eb6b1f321be0407f/ghc

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

commit 1fcede43d2b30f33b7505e25eb6b1f321be0407f
Author: Oleg Grenrus <oleg.grenrus at iki.fi>
Date:   Wed Feb 1 22:49:17 2017 -0500

    Introduce GHC.TypeNats module, change KnownNat evidence to be Natural
    
    Reviewers: dfeuer, austin, hvr, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3024
    
    GHC Trac Issues: #13181


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

1fcede43d2b30f33b7505e25eb6b1f321be0407f
 compiler/coreSyn/MkCore.hs                         |  11 +-
 compiler/deSugar/DsBinds.hs                        |   2 +-
 compiler/prelude/PrelNames.hs                      |  27 +++-
 docs/users_guide/8.2.1-notes.rst                   |   4 +
 libraries/base/Data/Data.hs                        |  18 +++
 libraries/base/Data/Typeable/Internal.hs           |   3 +-
 libraries/base/GHC/Exception.hs                    |   4 +-
 libraries/base/GHC/Exception.hs-boot               |   4 +-
 libraries/base/GHC/Natural.hs                      |  79 +++++-----
 libraries/base/GHC/TypeLits.hs                     |  78 ++--------
 libraries/base/GHC/TypeNats.hs                     | 160 +++++++++++++++++++++
 libraries/base/base.cabal                          |   1 +
 libraries/base/changelog.md                        |   4 +
 .../tests/annotations/should_fail/annfail10.stderr |   4 +-
 testsuite/tests/ghci/scripts/T9181.stdout          |  26 ++--
 .../tests/typecheck/should_fail/T12921.stderr      |   2 +-
 16 files changed, 302 insertions(+), 125 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 1fcede43d2b30f33b7505e25eb6b1f321be0407f


More information about the ghc-commits mailing list