&body macro arguments. Close #7

This commit is contained in:
2021-07-12 20:08:12 -06:00
parent c6834a30fe
commit 5e558e8556
7 changed files with 27 additions and 12 deletions

View File

@@ -240,7 +240,7 @@
random Std.random
int Std.int)))
(defmacro withValueOrInputBox [v &rest body]
(defmacro withValueOrInputBox [v &body body]
`(if ,v
{,@body}
(awaitLet [,v (inputBox)]