summaryrefslogtreecommitdiff
path: root/test/subrangefor.myr
blob: 6a8384f102dfd64a045ccc13cd02ba88f3c0175a (plain)
1
2
3
4
5
6
7
8
use std

const main = {
	for i : [1,2,3,4][:2]
		std.put("{}", i)
	;;
	std.put("\n")
}