shithub: mc

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