-
Notifications
You must be signed in to change notification settings - Fork 19
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
_.permutation
and _.combination
support for arrays
#47
Comments
Accepted as an enhancement. Do you have a PR for this? |
@bdkent You should also 👍 the lodash issues. |
👍 |
1 similar comment
👍 |
Here is an implementation for arrays strings and object. It's similar to pythons itertools.product. Let me know if you want me to make it a PR (and which category it fits into?). |
👍 |
Long-standing... |
👍 |
Start of PR for node4good#47
👍 Any updates in here? |
I made this into a PR see #56 |
Any plans to merge this? |
merge please |
Good time to do some housekeeping on this repo 😄 |
It would be really useful to support the standard permutation/combination functions on arrays.
Something like:
These additions have already (and I think unfortunately) been rejected from lodash proper:
lodash/lodash#1191
lodash/lodash#1032
I very frequently find the need for them, so I think they belong in
lodash-contrib
.Thanks!
The text was updated successfully, but these errors were encountered: