summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn026.hs
blob: 45510361a9f25bd08e9ddab0ca5efda245bbbaf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- !!! Checking that more than imported module can share a local
-- !!! local alias.
module ShouldCompile where

import qualified Data.List  as X
import qualified Data.Maybe as X

x :: Ord a => [a] -> [a]
x = X.sort

y :: Maybe a -> Bool
y = X.isJust