list delete item - part-cw/lambdanative GitHub Wiki

(list-delete-item lst item)

list-delete-item removes an item from a list.

Parameter Description
lst The list operated on
item The item to be removed

Example

Example 1: Remove item "b" from a list '("a" "b" "c").

> (list-delete-item '("a" "b" "c") "b") 
("a" "c")