
1 Nov
2006
1 Nov
'06
7:57 a.m.
On Nov 1, 2006, at 02:53 , Bulat Ziganshin wrote:
Hello Lennart,
The punning is available both for expressions and patterns.
that you mean? thing mentioned by Iavor?:
f Record1 {..} = let a = 1 b = 2 in Record2 {..}
Yes, exactly. I will send a patch for ghc as soon as I have cleaned it up and managed to test it some. (At the moment ghc HEAD cannot bootstrap itself on my MacBook so I can't test so well.) -- Lennart