Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2005-03-01 05:49:43 by simonpj] · 6d36af4a
    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