[Hugs-users] Record puns, time for removal?
Lennart Augustsson
lennart at augustsson.net
Wed Nov 1 07:57:49 EST 2006
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
More information about the Haskell-prime
mailing list