shithub: mc

ref: eff57189af8d9eb2d05005f65d3598b28379b199
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
}