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