diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-05-04 15:54:23 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-05-04 15:54:23 -0700 |
| commit | 34b86f22fddce09c6d45d4ba743cc9d1f4eceff9 (patch) | |
| tree | 4f345edf6b34d86b9d3a8d5cb136b2c3d18700fb /tests | |
| parent | Implement recursive functions. (diff) | |
| download | sml-34b86f22fddce09c6d45d4ba743cc9d1f4eceff9.tar.zst | |
Add "fun" syntax.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/14-fun.sml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/14-fun.sml b/tests/14-fun.sml new file mode 100644 index 0000000..210b30d --- /dev/null +++ b/tests/14-fun.sml @@ -0,0 +1,3 @@ +fun f x y = __builtin "exit" (__builtin "sub" (x, y)) + +val _ = f 60 18 |
