Simplify HsPatSynDetails
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 20 Dec 2017 15:36:49 +0000 (15:36 +0000)
committerBen Gamari <ben@smart-cactus.org>
Sun, 14 Jan 2018 22:07:22 +0000 (17:07 -0500)
commit7c69f1117695c7db1c10b1103995cc0111a4d8fb
tree53a92ab3de059a4ba98942264fd8b8389fe25aac
parent8553593731872dc9d33edca3afc9088d40fe75ed
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.

(cherry picked from commit 584cbd4a19887497776ce1f61c15df652b8b2ea4)
compiler/deSugar/DsMeta.hs
compiler/hsSyn/Convert.hs
compiler/hsSyn/HsBinds.hs
compiler/hsSyn/HsUtils.hs
compiler/parser/Parser.y
compiler/rename/RnBinds.hs
compiler/rename/RnSource.hs
compiler/typecheck/TcHsSyn.hs
compiler/typecheck/TcPatSyn.hs