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

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

Reply via email to