shithub: mc

ref: 5fc8fe7bec594a98c7a2b9fbdfc5f7fb4f11c7c9
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)
}