expand test

This commit is contained in:
msyds committed 2026-09-23 15:33:30 -06:00
1 parent 8116f2ca62
commit 02ec06609f
3 files changed
+46 -17

No files matched your search

+8 -2
View File
@@ -1,3 +1,9 @@
(define-library (scheme base)
(export lambda)
(import (scheme primitives)))
(export lambda begin define define-syntax
syntax-rules if when)
(import (primitives+builtins))
(begin
(define-syntax when
(syntax-rules ()
((_ test body)
(if test (begin body)))))))