Skip to content

Refactor to combine HsLam and HsLamCase

Simon Peyton Jones requested to merge wip/T23916 into master

This MR is pure refactoring (#23916 (closed)):

  • Combine HsLam and HsLamCase
  • Combine HsCmdLam and HsCmdLamCase

This just arranges to treat uniformly

  • \x -> e
  • \case pi -> ei
  • \cases pis -> ei

In the exising code base the first is treated differently to the latter two.

No change in behaviour.

Merge request reports