Skip to content
  • Simon Peyton Jones's avatar
    Add tuple sections as a new feature · 58521c72
    Simon Peyton Jones 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.
    58521c72