shithub: mc

ref: 714a85cedc8eea6c4c4d95c074160e0a2ca9e477
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("{},{}\n", z[0].x, z[0].y)
}