Skip to content
Snippets Groups Projects
Commit 9b828baf authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 1999-12-29 12:26:51 by simonpj]

Improve rn029, remove dup rn033
parent 8fb61d0a
No related merge requests found
-- !!! Checking that lazy name clashing work.
-- !!! Checking that lazy name clashing works.
module ShouldSucceed where
import List ( sort )
import List ( reverse, sort )
sort :: Int -- Clashes with List.sort,
sort = 4 -- but never used, so OK
reverse :: Int -- Clashes with List.reverse,
reverse = 3 -- but the only uses are qualified
x = ShouldSucceed.reverse
y = List.reverse
ShouldSucceed.sort :: Int
ShouldSucceed.sort = 3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment