punning in GHC?

Simon Peyton-Jones simonpj@microsoft.com
Fri, 28 Dec 2001 02:28:42 -0800


Punning was removed from Haskell some while ago,=20
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]=20
| Sent: 26 December 2001 18:55
| To: haskell@haskell.org
| Subject: punning in GHC?
|=20
|=20
| hi there,
|=20
| i just discovered that GHC does not support punning with the=20
| -fglasgow-exts=20
| option.  is there another flag to turn this on or has it been=20
| completely=20
| removed?  if so could we have it back - i really like the feature (in=20
| patterns anyways) and use it (hugs -98 supports it).  i don't=20
| particularly=20
| care that it is not in haskell 98 as i rarely write haskell=20
| 98 programs.=20
|=20
| by the way before posting this i did a search on "punning"=20
| through the=20
| mailing list archive to see if someone asked this already.  i=20
| couldnt find=20
| anything but it seems that since 1997 there were 7 posts on=20
| "punning" and=20
| all of them seemed to agree that it was a useful feature, so=20
| why was it=20
| removed? =20
|=20
| bye
| iavor
|=20
| _______________________________________________
| Haskell mailing list
| Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
|=20