Fold template-haskell.git into ghc.git (re #8545)
[ghc.git] / testsuite / tests / module / mod168.hs
1 -- !!! hiding Prelude method names
2 -- (based on bug report by Iavor Diatchi:
3 -- http://haskell.org/pipermail/hugs-bugs/2003-October/001369.html
4 -- )
5 module M where
6
7 import Prelude hiding ( negate, enumFrom,
8 enumFromThen, enumFromTo,
9 enumFromThenTo )
10 import Data.Ix hiding ( rangeSize )
11 negate = undefined
12 enumFrom = undefined
13 enumFromThen = undefined
14 enumFromTo = undefined
15 enumFromThenTo = undefined
16 rangeSize = undefined
17
18 x = [negate,enumFrom, enumFromThen, enumFromTo, enumFromThenTo, rangeSize]
19
20