&body macro arguments. Close #7
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
(defmethod _index [x y]
|
||||
(+ x (* y width)))
|
||||
|
||||
(defmacro withIndex [idxName xName yName &rest body]
|
||||
(defmacro withIndex [idxName xName yName &body body]
|
||||
`(let [,idxName (_index ,xName ,yName)]
|
||||
,@body))
|
||||
|
||||
|
Reference in New Issue
Block a user