Fix SEQUENCE:SEARCH, test seq. functions with user-defined sequences
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sun, 10 Mar 2013 15:28:55 +0000 (16:28 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 22 Mar 2013 12:14:16 +0000 (12:14 +0000)
commit363c1e9417029fd9a27257d5e872eca8c88510b7
treec6fa8b2c748b0e6bf393219dcfb970d6bc8db710
parent0f6c76079f6e1b7c629d7e056761028f4fa30f7e
Fix SEQUENCE:SEARCH, test seq. functions with user-defined sequences

Extending the tests in tests/seq.impure.lisp to user-defined sequences
revealed that the previous implementation produced incorrect results
for some inputs.

SEQUENCE:WITH-SEQUENCE-ITERATOR now accepts NIL in the list of
variables and generates ignored bindings for these elements.

The new implementation is also slightly faster (at least for the
inputs in tests/seq.impure.lisp).

fixes lp#1153312
NEWS
src/pcl/sequence.lisp
tests/seq.impure.lisp