view modules/true.tp @ 238:3bfc00e4f5e5

Eval lambda assignments at macro expandion time so they can be called by macros
author Mike Pavone <pavone@retrodev.com>
date Sun, 05 Jan 2014 19:27:41 -0800
parents 1417f13f219c
children bb2b4613fdc8
line wrap: on
line source

#{
	if <- :self trueblock {
		trueblock:
	}
	ifnot <- :self falseblock {
		self
	}
	if:else <- :self trueblock :elseblock {
		trueblock:
	}
	not <- {
		false
	}
	string <- { "true" }
}