-
Notifications
You must be signed in to change notification settings - Fork 144
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
Add unpack decorator #62
base: master
Are you sure you want to change the base?
Conversation
Look at |
Actually, no. But you are right: in other cases, I can use |
If So I let it hang for a while, let's see if anyone else wants it. |
Yes,
I agree |
I just ran into a case where this could have been used. Unpacking the arguments in other ways is simple and readable enough that I don't think adding this is worthwhile. |
As the mention above indicates, I ran into a case where this could be useful on a function composition pipeline if one of the fucntions returned a tuple with the arguments the next function needs, we could wrap the next function with the |
I propose to add a decorator which will unpack argument:
Is it a funcy way?