projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2000-07-06 11:43:24 by rrt]
[ghc-hetmet.git]
/
ghc
/
tests
/
rename
/
should_compile
/
rn028.hs
1
-- !!! Checking that a toplevel declaration 'f' in module M is accessible
2
-- !!! as both 'f' and 'M.f' within the scope of M. Similarly for imported
3
-- !!! entities.
4
module ShouldSucceed where
5
6
import List ( sort )
7
8
x :: Int
9
x = 2
10
11
y :: Int
12
y = x
13
14
z :: Int
15
z = ShouldSucceed.x
16
17
sortOf :: Ord a=> [a] -> [a]
18
sortOf = List.sort