Sittampalam, Ganesh ganesh.sittampalam at
Mon Jul 27 03:27:08 EDT 2009

Ian Lynagh wrote:
> Hi all,
> I've made a ticket and proposal page for making the labelled field
> syntax stricter, e.g. making this illegal: 
>     data A = A {x :: Int}
>     y :: Maybe A
>     y = Just A {x = 5}

+1: The precedence here is an ugly wart. It's particularly annoying when
teaching Haskell syntax to newbies; the simple rule "juxtaposition binds
tighter than everything else" doesn't quite work.


 Please access the attached hyperlink for an important electronic communications disclaimer: 

More information about the Haskell-prime mailing list