-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsdesignDesign of APIs or of the language itselfDesign of APIs or of the language itselfstrings"Strings!""Strings!"
Milestone
Description
The keep
option to split
, in addition to being somewhat unfortunately named (probably my doing if we excavate), is kind of strange since we can accomplish the same thing by writing filter(!isempty, split(str, splitter))
. If we had a generator version of split
then this could even be just as efficient as split(str, splitter, keep=false)
.
Related: #20625
Metadata
Metadata
Assignees
Labels
collectionsData structures holding multiple items, e.g. setsData structures holding multiple items, e.g. setsdesignDesign of APIs or of the language itselfDesign of APIs or of the language itselfstrings"Strings!""Strings!"