From 34b86f22fddce09c6d45d4ba743cc9d1f4eceff9 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 4 May 2024 15:54:23 -0700 Subject: Add "fun" syntax. --- tests/14-fun.sml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/14-fun.sml (limited to 'tests') 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 -- cgit v1.3.1