-
-
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
export Base.structdiff #34772
Comments
I'm ok with that. Maybe it needs a more general name, since it could also be extended to Dicts? (E.g. |
We have
a without x |
Just brainstorming: |
bump |
If naming is all that is in the way of this, perhaps |
Perhaps fleshing out the analogies is helpful
(The analogy can be loose because the second argument might be just a collection of keys, and not an association of keys and values) Are there more? I think |
For |
or |
bump |
Please do not bump feature request issues, unless you have a PR for itt |
Base.structdiff
was introduced more than 2 years ago in #24795, but not exported.But since it is useful for efficient and type stable named tuple manipulation, it is now used by some packages working with
NamedTuple
s, eg BangBang.jl, FunctionalTables.jl, NamedTupleTools.jl [these are just examples, I may have missed some packages].It would be nice to have it exported, or at least officially declared part of the API.
@tkf @JeffreySarnoff
The text was updated successfully, but these errors were encountered: