CASA Function: delete
Delete an element from a list or a set
- lt := delete(e,l)
- lt := delete(e,l,"all")
- e : expression
- l : list or set
- lt : list or set
- Given a list l the function removes some or all occurences of the expression e.
- If "all" is specified as the third argument, all occurences of e are removed from l. Otherwise only the first occurence is deleted.
- The result is a sublist of l with some or all occurences of e removed.