REMOVE-DUPLICATES appears to ignore :test-not
CL-USER 22 : 1 > (remove-duplicates '(a a a b b b) :test-not #'=)
(A B)
CL-USER 23 : 1 > (remove-duplicates '(a a a b b b) :test #'=)
Error: In = of (A A) arguments should be of type NUMBER.
----------------
Geoff
"Geoff Summerhayes" <·············@hNoOtSmPaAiMl.com> writes:
> REMOVE-DUPLICATES appears to ignore :test-not
>
> CL-USER 22 : 1 > (remove-duplicates '(a a a b b b) :test-not #'=)
> (A B)
>
> CL-USER 23 : 1 > (remove-duplicates '(a a a b b b) :test #'=)
>
> Error: In = of (A A) arguments should be of type NUMBER.
This isn't the right forum for bug reports about a specific implementation.
Send bug reports to ············@xanalys.com
In the meantime, use
(remove-duplicates '(a a a b b b) :test (complement #'=))