This commit is contained in:
msyds committed 2026-09-20 07:03:27 -06:00
1 parent edec828f3b
commit 0c6a172449
2 files changed
+27 -7

No files matched your search

+7 -1
View File
@@ -92,7 +92,13 @@
((m) x))))
(λ (x)
(m))))))
"`when` does not capture caller's scope"))))
"`when` does not capture caller's scope")
(t/is (= '(if 123 (begin (display "hello")
(newline)))
(sut/us-expand '(when 123
(display "hello")
(newline))))
"`when` captures multiple"))))
(t/deftest prim-lambda-spec
(t/is (s/valid? ::sut/prim-lambda '(lambda (x) x)))