unlock letrec-syntax test
This commit is contained in:
parent
b86d010b76
commit
8e114fae6b
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue