[Yhc] Yhc chokes on __ identifer
Neil Mitchell
ndmitchell at gmail.com
Wed Oct 25 08:24:00 EDT 2006
Hi
> > Anyone want the -underscore flag to stick around, and not just be the
> > default which can't be turned off?
>
> It depends whether you want to claim Haskell'98 compatibility or not.
> Haskell-prime is likely to make yhc's default behaviour with underscores
> the new standard however.
Can anyone outline exactly which behaviour is which? What the
differences are? Is one behaviour a superset of the other? Are there
any incompatabilities?
> The option -98 is just a collective switch to say -underscore -nopuns in
> a shorter way. It is off by default because of user demand. Named
> field puns were a feature of Haskell-1.3 that went away in Haskell'98,
> but some users liked them and campaigned for their reinstatement.
Are they in GHC? Hugs? If not I guess we'll kill them too, since I
guess no one is using them. With -underscore as well, we might be able
to give up on -98, but its a nice flag to keep, I guess.
Thanks
Neil
More information about the Yhc
mailing list