cvs commit: fptools/libraries/base/GHC Read.lhs
Simon Peyton-Jones
simonpj@microsoft.com
Mon, 22 Apr 2002 10:05:51 -0700
This is most odd. Why on earth does Haskell 98 lex
have the equation
lex "" =3D [("","")]
rather than
lex "" =3D []
After all, "" isn't a lexeme. =20
What would break if I proposed to change the H98 equation?
(Asking a small group first.)
Simon
| -----Original Message-----
| From: Sven Panne [mailto:panne@glass.cse.ogi.edu]=20
| Sent: 13 April 2002 15:59
| To: cvs-libraries@haskell.org
| Subject: cvs commit: fptools/libraries/base/GHC Read.lhs
|=20
|=20
| panne 2002/04/13 07:59:07 PDT
|=20
| Modified files:
| libraries/base/GHC Read.lhs=20
| Log:
| Ugly hack to make `lex' H98-compliant again: lex "" should return
| [("","")], not []. This should probably be fixed elsewhere...
| =20
| Revision Changes Path
| 1.6 +4 -3 fptools/libraries/base/GHC/Read.lhs
| _______________________________________________
| Cvs-libraries mailing list
| Cvs-libraries@haskell.org=20
| http://www.haskell.org/mailman/listinfo/cvs-libraries
|=20