shithub: mc

ref: cc4e5e7f81d55cd0d6757d15c6ebd21e8f60b90a
dir: /test/foldidx.myr/

View raw version
use std

type xy = struct
	x : int
	y : int
;;
const X = 123
const Y = 456
const z : xy[1] = [
	[.x = X, .y = Y]
]

const main = {
	std.put("%i,%i\n", z[0].x, z[0].y)
}