• simonpj@microsoft.com's avatar
    Add tuple sections as a new feature · 58521c72
    simonpj@microsoft.com authored
    This patch adds tuple sections, so that
    	(x,,z)  means   \y -> (x,y,z)
    Thanks for Max Bolinbroke for doing the hard work.
    In the end, instead of using two constructors in HsSyn, I used
    just one (still called ExplicitTuple) whose arguments can be
    	Present (LHsExpr id)
    or	Missing PostTcType
    While I was at it, I did a bit of refactoring too.
HsExpr.lhs 43.3 KB