shithub: mc

ref: 6abd8d7e95c9df2553a69d6f88c82a9c935f6b4e
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
}