Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Extend-your-language/Scheme/extend-your-language.ss
Normal file
7
Task/Extend-your-language/Scheme/extend-your-language.ss
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(define-syntax if2
|
||||
(syntax-rules ()
|
||||
((if2 cond1 cond2 both-true first-true second-true none-true)
|
||||
(let ((c2 cond2))
|
||||
(if cond1
|
||||
(if c2 both-true first-true)
|
||||
(if c2 second-true none-true))))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue