summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod168.hs
blob: eb8e927afd42dbe0f2f780df5b329e0022446f2f (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]