lispdoc - results for remove-duplicates |
(remove-duplicates sequence &rest args &key (test #'eql) (test-not nil) (start 0) (end nil) from-end (key nil)) | Function: The elements of SEQUENCE are compared pairwise, and if any two match, the one occurring earlier is discarded, unless FROM-END is true, in which case the one later in the sequence is discarded. The resulting sequence is returned. The :TEST-NOT argument is deprecated.
|
Example:(defun distinct-rows (rows schema) (remove-duplicates rows :test (row-equality-tester schema))) | Mentioned in: CLtL2 - 14.3. Modifying Sequences HyperSpec - Function REMOVE-DUPLICATES, DELETE-DUPLICATES On Lisp - Creating Context PCL - higher order function variants Successful Lisp - chapter13 |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |