mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 23:37:38 +02:00
Renamed to 'my-when'
This commit is contained in:
parent
0353930feb
commit
2a3e236469
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
(import (scheme base) (scheme write))
|
(import (scheme base) (scheme write))
|
||||||
(define-syntax when
|
(define-syntax my-when
|
||||||
(syntax-rules ()
|
(syntax-rules ()
|
||||||
((when test result1 result2 ...)
|
((my-when test result1 result2 ...)
|
||||||
(if test
|
(if test
|
||||||
(begin result1 result2 ...)))))
|
(begin result1 result2 ...)))))
|
||||||
|
|
||||||
(write
|
(write
|
||||||
(when #t 1))
|
(my-when #t 1))
|
||||||
|
|
Loading…
Add table
Reference in a new issue