[commit: ghc] master: Make the evidence in a CtGiven into an EvId (fa46c59)

git at git.haskell.org git at git.haskell.org
Thu Apr 9 16:36:51 UTC 2015


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

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

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

commit fa46c597db9939de1de4bc9b917c8dc1d9e2093a
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Apr 9 17:36:41 2015 +0100

    Make the evidence in a CtGiven into an EvId
    
    Note [Bind new Givens immediately] in TcRnTypes
    
    We were never using the generality.  Result: less code, more efficient.
    Cake for everyone.


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

fa46c597db9939de1de4bc9b917c8dc1d9e2093a
 compiler/deSugar/DsBinds.hs       | 14 ++++-------
 compiler/typecheck/TcCanonical.hs | 50 +++++++++++++--------------------------
 compiler/typecheck/TcEvidence.hs  | 30 +++++++++++------------
 compiler/typecheck/TcHsSyn.hs     |  9 +++----
 compiler/typecheck/TcInstDcls.hs  |  8 +++----
 compiler/typecheck/TcInteract.hs  | 12 ++++------
 compiler/typecheck/TcMType.hs     |  2 +-
 compiler/typecheck/TcRnTypes.hs   | 47 +++++++++++++++++++++++++-----------
 compiler/typecheck/TcSMonad.hs    |  8 +++----
 9 files changed, 85 insertions(+), 95 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 fa46c597db9939de1de4bc9b917c8dc1d9e2093a


More information about the ghc-commits mailing list