[commit: ghc] master: Tidy up and comment wildcards in family instances (6eb9dc9)

git at git.haskell.org git at git.haskell.org
Wed Dec 23 07:46:07 UTC 2015


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

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

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

commit 6eb9dc9cf44794e772fc09695bdbe62bb9c9216b
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Dec 22 09:08:28 2015 +0000

    Tidy up and comment wildcards in family instances
    
    I found it was possible to do this a bit more nicely
    See Note [Family instance declaration binders] in HsDecls, and
        Note [Wildcards in family instances] in RnSource


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

6eb9dc9cf44794e772fc09695bdbe62bb9c9216b
 compiler/hsSyn/HsDecls.hs          | 50 +++++++++++++----------
 compiler/rename/RnSource.hs        | 82 +++++++++++++++++++++++++++++++-------
 compiler/typecheck/TcTyClsDecls.hs | 48 ++--------------------
 3 files changed, 100 insertions(+), 80 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 6eb9dc9cf44794e772fc09695bdbe62bb9c9216b


More information about the ghc-commits mailing list