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}
and requiring this instead:
data A = A {x :: Int}
y :: Maybe A
y = Just (A {x
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}
and requiring this instead:
data A = A {x :: Int}
y :: Maybe A
y = Just (A {x = 5})
http://hack
Hi all,
I've made a ticket and proposal page for removing the monomorphism
restriction:
http://hackage.haskell.org/trac/haskell-prime/ticket/131
http://hackage.haskell.org/trac/haskell-prime/wiki/NoMonomorphismRestriction
Thanks
Ian
___
Haskell-p