shithub: mc

ref: d77ea4e5a34e9a7a54ed1302dcd0d0c9ef13fda9
dir: /test/matcharray.myr/

View raw version
use std

const main = {
	var v = [2, 40, 10]

	match v
	[x, y, 10]:	
		 -> x + y
		 ;;
	_:	std.die("Wat");;
	;;
	-> 0
}