bug producing repeated elements in antik's iterate extension?

Joshua TAYLOR joshuaaaron at gmail.com
Sat Jun 15 04:43:41 UTC 2013


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/



More information about the antik-devel mailing list