-
Notifications
You must be signed in to change notification settings - Fork 313
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
cons_tuples: (A, (B, C)) -> (A, B, C) doesn't work. Would it be possible to generalize cons_tuples to allow this? #982
Comments
Hmm, curious. By the name |
Yeah, you are right. Probably it would be better to create some other functions to do that. |
@scottmcm What do you thing about implementing |
Just my two cents: I imagine that a dedicated As for |
Example from documentation
((A, B), C) -> (A, B, C)
works pretty well!but when order of tuples changes the code starts fall apart.
with the following error
Would it possible to make it work for different structure of the tuples?
If you have some suggestions on implementations, I'm willing to make a PR.
And big thank you to all maintainers for the great library!!!
The text was updated successfully, but these errors were encountered: