History of Idiom 135 > diff from v45 to v46
Edit summary for version 46 by programming-idioms.org:
Linked to idiom #254 [Replace value in list]
Linked to idiom #254 [Replace value in list]
↷
Version 45
2020-09-30, 09:20:59
Version 46
2021-01-07, 09:29:31
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.
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.