[commit: ghc] wip/T15952-2: WIP: make a smart mkAppTyM (5917d0a)

git at git.haskell.org git at git.haskell.org
Thu Jan 24 11:55:58 UTC 2019


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

On branch  : wip/T15952-2
Link       : http://ghc.haskell.org/trac/ghc/changeset/5917d0ad24c27f0086db6692e486704b0d110540/ghc

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

commit 5917d0ad24c27f0086db6692e486704b0d110540
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Jan 24 11:53:03 2019 +0000

    WIP: make a smart mkAppTyM
    
    This branch, wip/T15952-2, is WIP on the idea of making
    a monadic mkAppTyM that ensures the Purely Kinded Invariant.
    
    Needs comments etc.  But it validates all but one test!


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

5917d0ad24c27f0086db6692e486704b0d110540
 compiler/typecheck/TcHsSyn.hs     |  1 +
 compiler/typecheck/TcHsType.hs    | 67 ++++++++++++++++++++++++++++++++-------
 compiler/typecheck/TcMType.hs     |  5 ++-
 compiler/typecheck/TcType.hs      | 18 ++++++++++-
 compiler/types/TyCon.hs           | 11 ++++++-
 compiler/types/Type.hs            | 34 ++++++++++++++------
 compiler/types/Type.hs-boot       |  2 +-
 compiler/utils/Outputable.hs      |  6 ++--
 compiler/utils/Outputable.hs-boot |  3 +-
 9 files changed, 119 insertions(+), 28 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 5917d0ad24c27f0086db6692e486704b0d110540


More information about the ghc-commits mailing list