History of Idiom 135 > diff from v40 to v41
Edit summary for version 41 by programming-idioms.org:
If x is absent, keep items unchanged.
If x is absent, keep items unchanged.
↷
Version 40
2020-09-30, 09:12:12
Version 41
2020-09-30, 09:13:10
Idiom #135 Remove item from list, by its value
Remove at most 1 item from list items, having value x.
This will alter the original list or return a new list, depending on which is more idiomatic. If there are several occurrences of x in items, remove only one of them.
Idiom #135 Remove item from list, by its value
Remove at most 1 item from list items, having value x.
This will alter the original list or return a new list, depending on which is more idiomatic.
If there are several occurrences of x in items, remove only one of them. If x is absent, keep items unchanged.