diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,8 +1,7 @@ -P ::= struct { - x, y:int; +f ::= fn(t::=, x :t) t { + x + 1 }; + main ::= fn() { - p:P; - x::="y"; - p[x]; + f(13); };
\ No newline at end of file |