Ian Lynagh wrote:
I have a feeling I'm in the minority, but I find record punning an ugly
feature.

Given
    data T = C { f :: Int }
we implicitly get
    f :: T -> Int
which punning shadows with
    f :: Int
whereas I generally avoid shadowing completely.

I agree with Ian.

Groetjes,

Martijn.

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

Reply via email to