[commit: ghc] master: Factor-out the `OverlapMode` from `OverlapFlag`. (9982715)

git at git.haskell.org git at git.haskell.org
Mon Jun 30 00:37:49 UTC 2014


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

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

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

commit 9982715002edfd789926fd4ccd42bea284a67939
Author: Iavor S. Diatchki <iavor.diatchki at gmail.com>
Date:   Sun Jun 29 16:34:30 2014 -0700

    Factor-out the `OverlapMode` from `OverlapFlag`.
    
    This seems a bit cleaner conceptually because the overlap mode and running
    in safety mode are quite orthogonal.
    
    More pragmatically, it also makes it possible to use `OverlapMode` to let
    programmers pick the overlap mode for individual instances.


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

9982715002edfd789926fd4ccd42bea284a67939
 compiler/basicTypes/BasicTypes.lhs   | 29 +++++++++++++++++++++--------
 compiler/typecheck/Inst.lhs          | 13 +++++++------
 compiler/typecheck/TcGenGenerics.lhs |  4 ++--
 compiler/types/InstEnv.lhs           | 15 ++++++++-------
 compiler/utils/Binary.hs             | 26 +++++++++++++++++---------
 5 files changed, 55 insertions(+), 32 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 9982715002edfd789926fd4ccd42bea284a67939


More information about the ghc-commits mailing list