Problems with qualified and hiding

Hi guys, If I have something like
foo hiding = hiding
or
foo qualified = qualified
then nhc98 gives this error: 6:3 Found foo but expected a {-end-of-definition-or-EOF-} Thanks Ian

foo hiding = hiding or foo qualified = qualified
If I have something like then nhc98 gives this error: 6:3 Found foo but expected a {-end-of-definition-or-EOF-}
Ok, nhc98 was treating these as keywords, when they are really `specialids' or whatever the current name is. Anyway, they should only be treated specially in a particular context, and are otherwise valid variable names. (The pseudo-keyword `interface' also belongs to this class that nhc98 was treating wrongly.) A patch to fix the problem is available at ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/patch-1.10-keywords (It is longer than the usual patches, hence I'm not posting it to the list. By the way, _all_ the patches posted on the list are also available from the same FTP directory.) Regards, Malcolm
participants (2)
-
Ian Lynagh
-
Malcolm Wallace