Introduce GHC.TypeNats module, change KnownNat evidence to be Natural
authorOleg Grenrus <oleg.grenrus@iki.fi>
Thu, 2 Feb 2017 03:49:17 +0000 (22:49 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 2 Feb 2017 04:37:47 +0000 (23:37 -0500)
commit1fcede43d2b30f33b7505e25eb6b1f321be0407f
tree9c206c94aa567b0a8d53cc65156666c26030d955
parentf5b275a239d2554c4da0b7621211642bf3b10650
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
16 files changed:
compiler/coreSyn/MkCore.hs
compiler/deSugar/DsBinds.hs
compiler/prelude/PrelNames.hs
docs/users_guide/8.2.1-notes.rst
libraries/base/Data/Data.hs
libraries/base/Data/Typeable/Internal.hs
libraries/base/GHC/Exception.hs
libraries/base/GHC/Exception.hs-boot
libraries/base/GHC/Natural.hs
libraries/base/GHC/TypeLits.hs
libraries/base/GHC/TypeNats.hs [new file with mode: 0644]
libraries/base/base.cabal
libraries/base/changelog.md
testsuite/tests/annotations/should_fail/annfail10.stderr
testsuite/tests/ghci/scripts/T9181.stdout
testsuite/tests/typecheck/should_fail/T12921.stderr