Use field names for all uses of datacon Match
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 31 Jul 2017 12:27:54 +0000 (13:27 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 31 Jul 2017 12:36:49 +0000 (13:36 +0100)
commit4fdc523456ff6481df8d7483ae193f0c2dc2b3fe
tree26d747a4df84e1fd810b61a29c3ba36c46e0252c
parent7f2dee8e5de5dbc09a7fb66ec54fd41ab4b1b2eb
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.
12 files changed:
compiler/deSugar/Check.hs
compiler/deSugar/Coverage.hs
compiler/deSugar/DsArrows.hs
compiler/deSugar/DsMeta.hs
compiler/hsSyn/HsExpr.hs
compiler/hsSyn/HsUtils.hs
compiler/parser/RdrHsSyn.hs
compiler/rename/RnExpr.hs
compiler/rename/RnTypes.hs
compiler/typecheck/TcArrows.hs
compiler/typecheck/TcHsSyn.hs
compiler/typecheck/TcMatches.hs