delete/2
delete(list, elem)Deletes the given element from the list. Returns a new list without the element. If the element occurs more than once in the list, just the first occurrence is removed.
delete(list, elem)Deletes the given element from the list. Returns a new list without the element. If the element occurs more than once in the list, just the first occurrence is removed.