projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
846f76e4d1bd780bf5370558b6e9c3fb75947adc
[ghc-hetmet.git]
/
ghc
/
tests
/
numeric
/
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']