Hello,
A StackOverflow user posted a question [1] about the behavior described in the Antik manual [2]
(defparameter m1 #m(1 2 3 ^ 0 6 8)) (iter:iter (iter:for e :matrix-element m1) (princ e) (princ " "))
;Output: 1.0 2.0 3.0 0.0 0.0 6.0 8.0
and observed that it looks like the 0.0 is getting repeated. In the answer to that question, I macroexpanded the iteration code, and it does look like a a value is getting repeated. Is this a (known) bug?
Thanks, Joshua Taylor
[1] http://stackoverflow.com/q/17119812/1281433 [2] http://www.common-lisp.net/project/antik/antik/Iterate.html
Thanks for the report, it is now fixed. e85d75dc44a1 Fix iterate extension to increment properly
Liam
On Sat, Jun 15, 2013 at 12:43 AM, Joshua TAYLOR joshuaaaron@gmail.comwrote:
Hello,
A StackOverflow user posted a question [1] about the behavior described in the Antik manual [2]
(defparameter m1 #m(1 2 3 ^ 0 6 8)) (iter:iter (iter:for e :matrix-element m1) (princ e) (princ " ")) ;Output: 1.0 2.0 3.0 0.0 0.0 6.0 8.0
and observed that it looks like the 0.0 is getting repeated. In the answer to that question, I macroexpanded the iteration code, and it does look like a a value is getting repeated. Is this a (known) bug?
Thanks, Joshua Taylor
[1] http://stackoverflow.com/q/17119812/1281433 [2] http://www.common-lisp.net/project/antik/antik/Iterate.html
-- Joshua Taylor, http://www.cs.rpi.edu/~tayloj/