DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) SRFI-1 Deleting

Info Catalog (guile.info.gz) SRFI-1 Searching (guile.info.gz) SRFI-1 (guile.info.gz) SRFI-1 Association Lists
 
 39.3.8 Deleting
 ---------------
 
 The procedures for deleting elements from a list either accept a
 predicate or a comparison object for determining which elements are to
 be removed.
 
  -- Scheme Procedure: delete x lst [=]
  -- Scheme Procedure: delete! x lst [=]
      Return a list containing all elements from LST, but without the
      elements equal to X.  Equality is determined by the equality
      predicate =, which defaults to `equal?' if not given.
 
      `delete!' is allowed, but not required to modify the structure of
      the argument list in order to produce the result.
 
  -- Scheme Procedure: delete-duplicates lst [=]
  -- Scheme Procedure: delete-duplicates! lst [=]
      Return a list containing all elements from LST, but without
      duplicate elements.  Equality of elements is determined by the
      equality predicate =, which defaults to `equal?' if not given.
 
      `delete-duplicates!' is allowed, but not required to modify the
      structure of the argument list in order to produce the result.
 
Info Catalog (guile.info.gz) SRFI-1 Searching (guile.info.gz) SRFI-1 (guile.info.gz) SRFI-1 Association Lists
automatically generated byinfo2html