Real implementations of delay. | Lecture 5 - slide 21 : 26 Program 2 |
; R5RS syntactic abstraction: (define-syntax my-delay (syntax-rules () ((delay expr) (lambda () expr)))) ; MzScheme syntactic abstraction: (define-macro my-delay (lambda (expr) `(lambda () ,expr)))