shithub: mc

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