Simplify HsPatSynDetails
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 20 Dec 2017 15:36:49 +0000 (15:36 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 21 Dec 2017 14:14:21 +0000 (14:14 +0000)
commit584cbd4a19887497776ce1f61c15df652b8b2ea4
treed38a508d7e3a4f243d4750174cf2a5d611f327da
parent4d41e9212d1fdf109f2d0174d204644446f5874c
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.
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/TcInteract.hs
compiler/typecheck/TcPatSyn.hs