Punning was removed from Haskell some while ago, I believe when Haskell 98 was fixed in Feb 1999. See the Preface section 0.4.1 Simon | -----Original Message----- | From: Iavor S. Diatchki [mailto:diatchki@cse.ogi.edu] | Sent: 26 December 2001 18:55 | To: haskell@haskell.org | Subject: punning in GHC? | | | hi there, | | i just discovered that GHC does not support punning with the | -fglasgow-exts | option. is there another flag to turn this on or has it been | completely | removed? if so could we have it back - i really like the feature (in | patterns anyways) and use it (hugs -98 supports it). i don't | particularly | care that it is not in haskell 98 as i rarely write haskell | 98 programs. | | by the way before posting this i did a search on "punning" | through the | mailing list archive to see if someone asked this already. i | couldnt find | anything but it seems that since 1997 there were 7 posts on | "punning" and | all of them seemed to agree that it was a useful feature, so | why was it | removed? | | bye | iavor | | _______________________________________________ | Haskell mailing list | Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell |
Punning was removed from Haskell some while ago, I believe when Haskell 98 was fixed in Feb 1999.
Indeed. However, due to popular demand, the feature was retained as an extension in Hugs (turn on with the -98 option) and nhc98 (turn on/off with the -puns/-nopuns options). Regards, Malcolm
participants (2)
-
Malcolm Wallace -
Simon Peyton-Jones