diff options
Diffstat (limited to 'point.toc')
-rw-r--r-- | point.toc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,3 +8,7 @@ pkg "point"; p.x = x; p.y = y; }; + +mk_point2 ::= fn(x, y:int) p: Point { + p = mk_point(x*x, y*y); +};
\ No newline at end of file |