[commit: ghc] master: Implement Div, Mod, and Log for type-level nats. (fa8035e)

git at git.haskell.org git at git.haskell.org
Tue Oct 3 21:56:20 UTC 2017


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

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

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

commit fa8035e3ee83aff5a20fc5e7e2697bac1686d6a6
Author: Iavor Diatchki <iavor.diatchki at gmail.com>
Date:   Tue Oct 3 14:58:47 2017 -0400

    Implement Div, Mod, and Log for type-level nats.
    
    Reviewers: austin, hvr, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: RyanGlScott, dfeuer, adamgundry, rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D4002


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

fa8035e3ee83aff5a20fc5e7e2697bac1686d6a6
 compiler/prelude/PrelNames.hs                      |  36 ++---
 compiler/typecheck/TcTypeNats.hs                   | 146 +++++++++++++++++++++
 libraries/base/GHC/TypeLits.hs                     |   1 +
 libraries/base/GHC/TypeNats.hs                     |  13 ++
 libraries/base/changelog.md                        |   3 +
 testsuite/tests/ghci/scripts/T9181.stdout          |   7 +
 .../typecheck/should_compile/TcTypeNatSimple.hs    |  15 +++
 7 files changed, 206 insertions(+), 15 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 fa8035e3ee83aff5a20fc5e7e2697bac1686d6a6


More information about the ghc-commits mailing list