summaryrefslogtreecommitdiff
path: root/test/generic.myr
blob: 3cae23eb05be4435e4412b854a82f7a27e17d153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
generic max = {a:@a::tcnum, b::@a::tcnum
	if (a > b)
		-> a
	else
		-> b
	;;
}

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