
20 Oct
2003
20 Oct
'03
9:22 a.m.
Ian Lynagh
While getting hat to work with ghc6 I've come across the following issue:
We have encountered exactly the same issue ourselves when converting hat for ghc6.
hugs agrees with GHC 6 on both, and the report seems to agree on the latter (I haven't looked for what it says on the former, but it seems reasonable behaviour).
Yes, nhc98 is wrong wrt the Haskell'98 Report on this point. (It was a change between the original publication and the recently published revision.) The Report no longer permits an instance method definition to be qualified, because the method name without qualification is completely unambiguous in the context. It is on the ToDo list to be fixed for the next release. Regards, Malcolm