[commit: ghc] master: Use field names for all uses of datacon Match (4fdc523)
git at git.haskell.org
git at git.haskell.org
Mon Jul 31 12:37:16 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4fdc523456ff6481df8d7483ae193f0c2dc2b3fe/ghc
>---------------------------------------------------------------
commit 4fdc523456ff6481df8d7483ae193f0c2dc2b3fe
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Mon Jul 31 13:27:54 2017 +0100
Use field names for all uses of datacon Match
This is refactoring only... elimiante all positional uses
of the data constructor Match in favour of field names.
No change in behaviour.
>---------------------------------------------------------------
4fdc523456ff6481df8d7483ae193f0c2dc2b3fe
compiler/deSugar/Check.hs | 4 ++--
compiler/deSugar/Coverage.hs | 10 +++++-----
compiler/deSugar/DsArrows.hs | 10 +++++-----
compiler/deSugar/DsMeta.hs | 11 ++++++-----
compiler/hsSyn/HsExpr.hs | 2 +-
compiler/hsSyn/HsUtils.hs | 9 ++++++---
compiler/parser/RdrHsSyn.hs | 8 ++++----
compiler/rename/RnExpr.hs | 2 +-
compiler/rename/RnTypes.hs | 2 +-
compiler/typecheck/TcArrows.hs | 5 +++--
compiler/typecheck/TcHsSyn.hs | 5 +++--
compiler/typecheck/TcMatches.hs | 8 +++++---
12 files changed, 42 insertions(+), 34 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 4fdc523456ff6481df8d7483ae193f0c2dc2b3fe
More information about the ghc-commits
mailing list