shithub: mc

ref: 7c0b1067c6f67044cc25d5d4d4e5f1c4e7e98968
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)
}