shithub: mc

ref: dc52d457fd6efb778cb91a7912e5c1329d8c34ef
dir: /test/tuple.myr/

View raw version
use std
/* checks that we can create tuples and destructure them. exits with 42. */
const main = {
	var v
	var x
	var a
	var b

	x = 15
	v = (x, x + 12)
	(a, b) = v
	-> a + b
}