Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
(disj x e)
x.erase(e);
x.remove(e);
integer,allocatable::x(:)
integer::e=6
x=[2,4,6,8,10]
!remove 6
x=pack(x,x/=e)
delete(x, e)
delete(x, e)
x.delete(e);
(defun rmv (elem lst)
(if (null lst) nil
(if (equal elem (car lst))
(cdr lst)
(cons (car lst) (rmv elem (cdr lst))))) )
(setf x (rmv e x ))
x := x - [e];
Exclude(x,e);
@x = grep $e ne $_, @x;
x.remove(e)
x.delete(e)