(no subject)
Simon Peyton-Jones
simonpj@microsoft.com
Thu, 17 Jan 2002 22:44:49 -0800
Perfectly sensible suggestion, but too late for the H98 Report,
I'm afraid. It's time to freeze it.
Simon
| -----Original Message-----
| From: D.Wakeling@exeter.ac.uk [mailto:D.Wakeling@exeter.ac.uk]=20
| Sent: 08 January 2002 10:02
| To: haskell@haskell.org
| Subject: (no subject)
|=20
|=20
|=20
| Hello,
|=20
| Is there any reason why the "gap" in a string literal is defined as
|=20
| gap -> \whitechar {whitechar}\
|=20
| (in Section 2.6 of the report), rather than=20
|=20
| gap -> \whitespace\
|=20
| ? The second, more liberal, definition of "gap" seems more=20
| natural. Moreover, it would allow comments in the gaps, which=20
| I would find useful. For example,
|=20
| classHeader :: String
| classHeader =3D "\xca\xfe\xba\xbe\ -- magic number
| \\x00\x03\ -- minor version
| \\x00\x2d" -- major version
|=20
| David
| --------------------------------------------------------------
| -----------------
| Dr. David Wakeling, School of Engineering and Computer Science=20
| University of Exeter, Exeter, Devon, EX4 4PT.=20
| unofficial web page: http://www.dcs.ex.ac.uk/~david
| --------------------------------------------------------------
| -----------------
|=20
| _______________________________________________
| Haskell mailing list
| Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
|=20