summaryrefslogtreecommitdiff
path: root/tests/func3.bth
blob: 2da8cc9c889a86f599d1330e1e90a64947964619 (plain)
1
2
3
4
5
6
7
8
9
(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))