mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 15:27:36 +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))
|
||||
(define-syntax when
|
||||
(define-syntax my-when
|
||||
(syntax-rules ()
|
||||
((when test result1 result2 ...)
|
||||
((my-when test result1 result2 ...)
|
||||
(if test
|
||||
(begin result1 result2 ...)))))
|
||||
|
||||
(write
|
||||
(when #t 1))
|
||||
(my-when #t 1))
|
||||
|
|
Loading…
Add table
Reference in a new issue