Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 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