shithub: mc

ref: 134217a2c718527a3e38abd5a60467ecb586fea9
dir: /test/generic.myr/

View raw version
generic max = {a:@a::tcnum, b::@a::tcnum
	if (a > b)
		-> a
	else
		-> b
	;;
}

const main = {
	max('a', 'b')
	-> max(1, 2)
}