summaryrefslogtreecommitdiff
path: root/tests/closuretest.lisp
blob: d743481b0189671d3398c62ed80b4b821f056af0 (plain)
1
2
3
4
5
6
7
(print (((lambda (x) (lambda (y) (+ x y))) 1) 2))

((lambda (f)
    ((lambda (g1 g2)
        (print (g1 10) (g1 20)))
     (f 42)))
 (lambda (x) (lambda (y) (+ x y))))