[Hugs-users] Record puns, time for removal?

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri Oct 27 13:17:45 EDT 2006


Hello Neil,

Friday, October 27, 2006, 7:57:54 PM, you wrote:

> I was just looking into Yhc and noticed that it supports record puns,

> f (Point{x}) = x

> Works fine in Yhc and Hugs, but not in GHC. Is this feature
> supported/encouraged or is it depreciated and scheduled for removal? I
> am tempted to remove this feature from Yhc since it seems no one uses
> it, and GHC doesn't know about it, but was wondering what the Hugs
> plans were for it first.

i've used it a lot in my program until i switched to ghc and was
forced to rewrite all this code. if it is possible, i ill vote to add
ghc support for this feature. i don't propose it for h' because
current records implementation in haskell seems like somewhat
temporary solution


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Hugs-Users mailing list