summaryrefslogtreecommitdiff
path: root/tests/func3.bth
blob: 9c0ceebbecb7119bb25b6b093a21e2a6e93508a3 (plain)
1
2
3
4
5
6
7
(set f1 (fn (a b) (* a b)))
(set f2 (fn (x)
		 (let (a 3
			   g (fn (y) (+ y 7)))
			   (* (g a) (g x)))))
(say (f1 6 6))
(say (f2 7))