decf/delete-aconsGBBopen ToolsdefcmdelqGoTo Top

delq   item list => list[Function]

Purpose
Destructively delete all items from list using eq as the comparison function.

Package   :gbbopen-tools

Module   :gbbopen-tools

Arguments and values

item     An object
list     A proper list

Returns
A list from which all items have been deleted.

Description
Delq is a convenient shorthand for:

  (delete item (the list list) :test #'eq)
As is the case with delete, delq may modify the top-level structure of list in constructing the result-list.

Examples

  > (delq 'b '(a b c b))
  (a c)
  > (delq 'x '(a b c b))
  (a b c b)
  >


The GBBopen Project


decf/delete-aconsGBBopen ToolsdefcmdelqGoTo Top