shithub: mc

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