unlock letrec-syntax test

This commit is contained in:
Yuichi Nishiwaki 2014-07-16 14:32:04 +09:00
parent b86d010b76
commit 8e114fae6b
1 changed files with 18 additions and 18 deletions

View File

@ -464,24 +464,24 @@
(let ((x 'inner))
(m)))))
;; (test 7 (letrec-syntax
;; ((my-or (syntax-rules ()
;; ((my-or) #f)
;; ((my-or e) e)
;; ((my-or e1 e2 ...)
;; (let ((temp e1))
;; (if temp
;; temp
;; (my-or e2 ...)))))))
;; (let ((x #f)
;; (y 7)
;; (temp 8)
;; (let odd?)
;; (if even?))
;; (my-or x
;; (let temp)
;; (if y)
;; y))))
(test 7 (letrec-syntax
((my-or (syntax-rules ()
((my-or) #f)
((my-or e) e)
((my-or e1 e2 ...)
(let ((temp e1))
(if temp
temp
(my-or e2 ...)))))))
(let ((x #f)
(y 7)
(temp 8)
(let odd?)
(if even?))
(my-or x
(let temp)
(if y)
y))))
(define-syntax be-like-begin
(syntax-rules ()