1 module ShouldCompile where
3 -- M.<keyword> isn't a qualified identifier
6 -- ---------------------------------------------------------------------------
7 -- we changed the behaviour of this one in GHC, but the following test
8 -- is strictly speaking legal Haskell:
10 -- f' = Just.\1 where (.\) = ($)
12 -- -----------------------------------------------------
13 -- M.{as,hiding,qualified} *are* qualified identifiers:
17 -- ---------------------------------------------------------------------------
18 -- special symbols (!, -) can be qualified to make varids.
20 g' = (ShouldCompile.!)