diff options
Diffstat (limited to 'tests/func5.bth')
-rw-r--r-- | tests/func5.bth | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/func5.bth b/tests/func5.bth new file mode 100644 index 0000000..890e706 --- /dev/null +++ b/tests/func5.bth @@ -0,0 +1,8 @@ +(set f (fn (a) (say (* a a)))) +(f 2) +(f 4) +(f 6) +(f 8) +(let (a 5) + (f a) + (f (* 2 a))) |