-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate findin(a, b) in favor or find(occursin(b), a) #24967
Comments
oh man |
We could have a single-argument |
💯 It seems very natural to me, and FWIW, I introduced |
That's tempting, but I'd rather have a general plan regarding currying functions, as it could be really confusing to have that (reverse) currying function if we don't do that more systematically. For example, we now have |
See #24990 for an implementation of |
Actually, something like I've added a commit replacing |
Same here, every time I see this I too parse this as |
Fixed by #24673. |
As part of the unification of search and find functions (#10593), we should deprecate
findin(a, b)
in favor of the more explicitfind(occursin(b), a)
, which is equivalent tofind(x -> x in b, a)
.occursin
is already implemented in #24673.The text was updated successfully, but these errors were encountered: