diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-27 12:01:33 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-27 12:05:27 +0100 |
commit | 991e694b558691264f82d80a7aa1b86ef3d2c92c (patch) | |
tree | 881946b076bdcc6545aa167ef7d544b6e16f9abb /tests/flet.bth | |
parent | a559125a2d7af771784614b7a2092cc7fb707345 (diff) |
more tests
Diffstat (limited to 'tests/flet.bth')
-rw-r--r-- | tests/flet.bth | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/flet.bth b/tests/flet.bth new file mode 100644 index 0000000..102fc34 --- /dev/null +++ b/tests/flet.bth @@ -0,0 +1,7 @@ +(set f1 (fn (a b c) (say (* a (+ b c))))) +(set f2 (fn (a) (say (* a a)))) +(if true + (f1 6 2 4) + (f2 7)) +(let (a 100 b 200 c 300) + (say b)) |