Hi

This feature was removed from Haskell (I was never sure why).
However, I think it is a handy feature and should certainly not be
removed if it is already implemenetd.

Does it make sense to have a feature that is available in Hugs and Yhc
bug not GHC? I'd suggest that if you want this feature, you try and
get it put back in for Haskell Prime. I personally have no particular
feeling one way or the other about this feature - I just want to
remove configuration flags from Yhc that no-one understands and move
towards standard Haskell.

Thanks

Neil

On 10/27/06, Neil Mitchell <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was just looking into Yhc and noticed that it supports record puns,
> for example the following code:
>
> ------
> module Main where
> data Point = Point {x :: Int, y :: Int}
> main = print $ f $ Point 1 2
> 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.
>
> Thanks
>
> Neil
> _______________________________________________
> Hugs-Users mailing list
> Hugs-Users@haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-users
>

_______________________________________________
Hugs-Users mailing list
Hugs-Users@haskell.org
http://www.haskell.org/mailman/listinfo/hugs-users

Reply via email to