diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-26 13:11:00 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-26 13:11:00 +0100 |
commit | c1ad2da9bd1497737c46c53e27f915cc26bc49a6 (patch) | |
tree | 5f701f22a0eed7d09056e1eafe1d60a9a48832a9 /tests/func3.bth | |
parent | 63206b605c36140f2bd476e054b8318c8b08f472 (diff) |
remove explicit toplevel (do ...) from tests
Diffstat (limited to 'tests/func3.bth')
-rw-r--r-- | tests/func3.bth | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/func3.bth b/tests/func3.bth index 2da8cc9..59392e1 100644 --- a/tests/func3.bth +++ b/tests/func3.bth @@ -1,9 +1,8 @@ -(do - (set f1 (fn (a b) (* a b))) - (set f2 (fn (x) - (set xx x) - (let (a 3 - g (fn (y) (+ y 7))) - (* (g a) (g xx))))) - (puts (f1 6 6)) - (f2 7)) +(set f1 (fn (a b) (* a b))) +(set f2 (fn (x) + (set xx x) + (let (a 3 + g (fn (y) (+ y 7))) + (* (g a) (g xx))))) +(puts (f1 6 6)) +(f2 7) |