4 ms·
What do you mean?
by maydup-nem 4y ago
What do you mean?
- Jtsummers 4y agoJust checked and this is still a problem. Try this code with Iterate: (let ((list '(1 2 3 4 1 2 3 4))) ;; or whatever other sequence (iter (for i from 1 to 10) (sum (count i list)))) It will error out on you. The same works fine with loop: (let ((list '(1 2 3 4 1 2 3 4))) (loop for i from 1 to 10 sum (count i list))) ;; => 8 Now, that's a bit contrived as an example, but an iteration library should not break a standard library function call. https://gitlab.common-lisp.net/iterate/iterate/-/issues/12 https://gitlab.common-lisp.net/iterate/iterate/-/issues/12 - Apparently it's known and they intend to remove it in 2.0, which isn't out yet.
- maydup-nem 4y agogood to know, thanks