Jeffrey R. Lewis writes: > The import decl > > import Ick as Uck > > is treated silently as if the `as Uck' hadn't been typed. GHC gives an > ingracious syntax error at least. Mind you, according to the report > this seems to be valid syntax, and the case where your omit `qualified' > doesn't seem to be ruled out by the report, even tho if you look at the > GHC syntax, it requires `qualified' before `as'. But I have no opinion > on that, I just like good error messages! > The report isn't crystal clear about the relationship between 'qualified' and 'as', but I don't see a good reason to prohibit the above. Fixed in the next release of GHC. --Sigbjorn
