summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_run/arith010.hs
blob: 846f76e4d1bd780bf5370558b6e9c3fb75947adc (plain)
1
2
3
4
5
6
7
8
9
10
11
--	Tests enumerations

main = do
	print [1..10]
	print [10..1]		-- []
	print [1,3..10]
	print [10,8..1]
	print ['a'..'f']
	print ['f'..'a']	-- []
	print ['a','c'..'m']
	print ['m','l'..'a']