mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 22:29:16 +02:00
other version numbers than 7 to `scheme-report-environment`, providing initial (scheme base) library.
10 lines
198 B
Scheme
10 lines
198 B
Scheme
|
|
(define-syntax when
|
|
(syntax-rules ()
|
|
((when test . body)
|
|
(if test (begin . body)))))
|
|
|
|
(define-syntax unless
|
|
(syntax-rules ()
|
|
((unless test . body)
|
|
(when (not test) . body))))
|