From 481884fb892f949478dad8d801ced704baea986c Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Mon, 18 Nov 2019 18:36:57 +0100 Subject: Automatic testing of examples --- tests/closuretest.lisp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/closuretest.lisp (limited to 'tests/closuretest.lisp') diff --git a/tests/closuretest.lisp b/tests/closuretest.lisp new file mode 100644 index 0000000..d743481 --- /dev/null +++ b/tests/closuretest.lisp @@ -0,0 +1,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)))) -- cgit v1.2.3-70-g09d2