decf/delete-aconsGBBopen Toolsdelq-onedelqGoTo Top

delq   item list => list[Function]

Destructively delete all item elements from list using eq as the comparison function.

Package   :gbbopen-tools

Module   :gbbopen-tools

Arguments and values

item     An object
list     A proper list

A list from which all item elements have been deleted.

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.

See also


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

The GBBopen Project

decf/delete-aconsGBBopen Toolsdelq-onedelqGoTo Top