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

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