shithub: mc

ref: 4ff9f95d84eb12bbbb0895669cc888eea1867bf5
dir: /test/callbig.myr/

View raw version
type pair = struct
	a : int
	b : int
;;

const f = {s
	-> s.a  + s.b
}

const main = {
	var s : pair
	s.a = 12
	s.b = 30
	-> f(s)
}