[commit: ghc] master: Simplify HsPatSynDetails (584cbd4)

git at git.haskell.org git at git.haskell.org
Thu Dec 21 14:55:48 UTC 2017


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

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

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

commit 584cbd4a19887497776ce1f61c15df652b8b2ea4
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Dec 20 15:36:49 2017 +0000

    Simplify HsPatSynDetails
    
    This is a pure refactoring.  Use HsConDetails to implement
    HsPatSynDetails, instead of defining a whole new data type.
    Less code, fewer types, all good.


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

584cbd4a19887497776ce1f61c15df652b8b2ea4
 compiler/deSugar/DsMeta.hs       | 18 +++++++-------
 compiler/hsSyn/Convert.hs        |  6 ++---
 compiler/hsSyn/HsBinds.hs        | 53 ++++------------------------------------
 compiler/hsSyn/HsUtils.hs        |  2 +-
 compiler/parser/Parser.y         |  6 ++---
 compiler/rename/RnBinds.hs       | 14 +++++------
 compiler/rename/RnSource.hs      |  2 +-
 compiler/typecheck/TcHsSyn.hs    | 18 ++++++++++----
 compiler/typecheck/TcInteract.hs |  3 ++-
 compiler/typecheck/TcPatSyn.hs   | 17 ++++++-------
 10 files changed, 52 insertions(+), 87 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 584cbd4a19887497776ce1f61c15df652b8b2ea4


More information about the ghc-commits mailing list