[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.2.8 List deletion

Function: delete x list &optional elt=
Function: delete! x list &optional elt=
[SRFI-1] Equivalent to
 
  (remove (lambda (y) (elt= x y)) list)
  (remove! (lambda (y) (elt= x y)) list)
The comparison procedure, elt=, defaults to equal?.

Function: delete$ x
Partial application version of delete.

Function: delete-duplicates list &optional elt=
Function: delete-duplicates! list &optional elt=
[SRFI-1] Removes duplicate elements from list. If there are multiple equal elements in list, the result list only contains the first or leftmost of these elements in the result. The order of these surviving elements is the same as in the original list. The comparison procedure, elt=, defaults to equal?.



This document was generated by Ken Dickey on November, 28 2002 using texi2html