Fix bug in while

This commit is contained in:
Jens Axel Søgaard 2015-10-01 19:37:14 +02:00
parent 0ef7649346
commit 4db245c00d

View File

@ -9,7 +9,7 @@
(require (for-syntax syntax/parse)) (require (for-syntax syntax/parse))
(define-syntax (while stx) (define-syntax (while stx)
(syntax-parse stx (syntax-parse stx
[(_while test-expr body ...) [(_while test body ...)
#'(let loop () #'(let loop ()
(when test (when test
body ... body ...