Fix bug in while
This commit is contained in:
parent
0ef7649346
commit
4db245c00d
|
@ -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 ...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user