Add tuple sections as a new feature
authorsimonpj@microsoft.com <unknown>
Thu, 23 Jul 2009 06:38:59 +0000 (06:38 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 23 Jul 2009 06:38:59 +0000 (06:38 +0000)
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.


No differences found