nremove (s_exp, list, use_equal?)
Any Gamma or Lisp expression.
A list.
If non-nil, use equal instead of eq for comparison.
The list with any elements which are eq (or equal if specified) to s_exp destructively removed.
This function removes all occurrences of the s_exp within the given list and destructively alters the list to reduce its size by one for each occurrence. The default comparison used is eq. If the first argument is removed, then the return value will be (cdr list) with all other occurrences of s_exp destructively removed.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.