[Haskell'-private] StricterLabelledFieldSyntax

Ian Lynagh igloo at earth.li
Thu Aug 13 07:14:33 EDT 2009


On Wed, Aug 12, 2009 at 11:45:04PM -0700, John Meacham wrote:
> 
> Also, what about data declarations? Would we need something like below?
> It seems odd to apply such a rule sometimes but not others.
> 
> > data Foo = (Foo { .. }) | ...

You would not need these parentheses; nor would you need parentheses in

foo = Foo { ... }


Thanks
Ian



More information about the Haskell-prime mailing list