pkg "point"; #export Point ::= struct { x, y: int; }; #export mk_point ::= fn(x, y: int) p : Point { p.x = x; p.y = y; };