Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (require (lib "defmacro.ss"))
- (define-macro (do2 test . body)
- `(letrec ((loop (lambda ()
- (begin ,@body
- (if ,test
- (void)
- (loop)
- )
- )
- )
- ))
- (loop)
- ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement