shithub: mc

ref: 6d707df71c0fe11da7dd53bf36eb3d3fadb8ec9b
dir: /test/matcharray.myr/

View raw version
use std

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

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