Thanks, I've made Hugs98 comply with the Report.
--sigbjorn
- Original Message -
From: Ian Lynagh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 09, 2001 10:43
Subject: --+ not treated as a start of a comment
If I have
foo = 0 --+ 1
then ghc tells me
while the report (and hugs) believe --+ 1 is a comment.
If a bystander is allowed to comment...
Actually, the newer versions of the report say you can use -- to begin a legal
lexeme (Sec. 2.3, p. 6).
GHC doesn't like this, either: it is hugs that is too permissive.
Regards,
-- Feliks