view code/test.lm @ 4:eaf0a014d18b

Use TSEL instead of SEL for if:else
author Michael Pavone <pavone@retrodev.com>
date Fri, 25 Jul 2014 10:56:27 -0700
parents a9a2ad99adfb
children afd55b32549b
line wrap: on
line source

#{
	init <- {
		#[1 2 3 4]
	}
	
	main <- {
		if: (isInteger?: 1 | [(2 + 32 * 8) 3 4]) {
			42
		} else: {
			24
		}
	}
}