shithub: mc

ref: 14ec83e1ab97ee50e0f7686b390f8daba6ee34f9
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)
}