On Sun, Jul 26, 2009 at 03:24:03PM +0100, Neil Mitchell wrote:
> 
> I haven't seen anyone else claim to use the current more liberal
> syntax for fields, but I know that I do rather extensively. I would
> consider:
> 
> Just A {a = 1}
> 
> To be confusing, but if you simply omit the space:
> 
> Just A{a = 1}
> 
> I now find that perfectly clear and unambiguous.

I did consider allowing that, perhaps by making "Foo{" a single token,
but I couldn't see a clean way to do it.

Personally, I prefer rejecting it anyway.


Thanks
Ian

_______________________________________________
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime

Reply via email to