Re: Haskell 98 non-conformance in qualifiers
22 Apr
2001
22 Apr
'01
8:34 p.m.
Alastair Reid reid@cs.utah.edu writes:
The following program (from the testsuite) is not legal Haskell'98 but is accepted by Hugs. The error is that you can't use the qualifier M inside M (at least, not without first explicitly importing M).
tests/static/mod75.hs: --!!! Qualifying with local module name module M where f x = M.f x
That's legal Haskell 98 and should be accepted; see Section 5.5.1 of the Report; bullet 1. --sigbjorn
9174
Age (days ago)
9174
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sigbjorn Finne