-
Notifications
You must be signed in to change notification settings - Fork 92
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
I want to add a new Functions - Remove #171
Comments
I have made some attempts |
@elliotchance What is the actual status? I would be happy to add similar function with index based removing in Go idiomatic(but not perfect) way |
Intersect creates a set of elements that exist in both sets. I believe what @Luoxin is talking about here is "except" which results in the elements that do not exist in another set. Speaking more broadly, it would be nice to have a Set type in this library for dealing with unordered unique items where these kinds of operations make sense. Otherwise, union operations on non-unique elements can be ambiguous. |
Of course, |
Added in #194 |
I want to add remove,like:
In some scenarios, there will be a desire to weed out the data in slice A from the data in slice B
The text was updated successfully, but these errors were encountered: