shithub: mc

ref: 9b60831c7e019e9fc9f4d62d1a016d8ddd7e7a91
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
}