-
Simon Peyton Jones authored
Make desugaring of pattern-matching much more civilised. Before this change we wrapped new bindings around the right hand side; but that meant they ended up wrapped in reverse order. Now we accumulate the bindings separately, in the eqn_wrap field of an EqnInfo. This cures a desugaring bug encountered by Akos Korosmezey immortalised as ds055
6d36af4a