blob: 76cefe9310fbdf02e0d5d436e86b8121e0a651c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- !!! Checking that an imported module may still have
-- !!! a local alias without having used 'qualified'.
module ShouldCompile where
import Data.List as X
import Data.Maybe as X
x :: Ord a => [a] -> [a]
x = X.sort
y :: Maybe a -> Bool
y = X.isJust
|