diff options
| author | 2024-12-31 18:58:20 -0500 | |
|---|---|---|
| committer | 2024-12-31 18:58:20 -0500 | |
| commit | 992bbec042facc6842aae02183ccd89d6c8f8749 (patch) | |
| tree | 4dd44592c8bac5e0e180da3e5e36573f814a9d63 /test.scm | |
| parent | correctly pass closures in an argument list (diff) | |
Diffstat (limited to 'test.scm')
| -rw-r--r-- | test.scm | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -135,3 +135,11 @@ '(''#f) (e1 '''#f))) +(test-group "procedures" + (test-assert "closure" + (cps-closure? + (car (e1 '(lambda (x) x))))) + (test "apply closure" + '(5) + (e1 '((lambda (x) x) 5)))) + |
