-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
breakingThis change will break codeThis change will break codesearch & findThe find* family of functionsThe find* family of functionsspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
Description
findfirst(predicate::Function, A)
findfirst(pattern::AbstractString, string::AbstractString)This function dispatches on Function to avoid ambiguity with the pattern method, so it is not generic to callable types. This seems like it should be two functions: one that takes a predicate and one that takes a pattern.
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codesearch & findThe find* family of functionsThe find* family of functionsspeculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative