RE: punning in GHC?

2002-01-02 Thread Malcolm Wallace

 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

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell



RE: punning in GHC?

2001-12-28 Thread Simon Peyton-Jones

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:[EMAIL PROTECTED]] 
| Sent: 26 December 2001 18:55
| To: [EMAIL PROTECTED]
| 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
| [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
| 

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell



punning in GHC?

2001-12-26 Thread Iavor S. Diatchki

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
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell