[project @ 2001-04-06 04:28:53 by lewie]
[ghc-hetmet.git] / ghc / tests / numeric / should_run / arith010.hs
1 --      Tests enumerations
2
3 main = do
4         print [1..10]
5         print [10..1]           -- []
6         print [1,3..10]
7         print [10,8..1]
8         print ['a'..'f']
9         print ['f'..'a']        -- []
10         print ['a','c'..'m']
11         print ['m','l'..'a']