summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod168.hs
blob: 1c0deaa5790db428fd49ef2618ff82b8ae631b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- !!! hiding Prelude method names
-- (based on bug report by Iavor Diatchi:
--   http://haskell.org/pipermail/hugs-bugs/2003-October/001369.html
-- )
module M where

import Prelude hiding ( negate, enumFrom, 
		        enumFromThen, enumFromTo,
		        enumFromThenTo )
import Data.Ix hiding ( rangeSize )
negate = undefined
enumFrom = undefined
enumFromThen = undefined
enumFromTo = undefined
enumFromThenTo = undefined
rangeSize = undefined

x = [negate,enumFrom, enumFromThen, enumFromTo, enumFromThenTo, rangeSize]