Skip to content
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

Replace map/reduce with callable iterables #6

Open
mvirts opened this issue Dec 27, 2021 · 1 comment
Open

Replace map/reduce with callable iterables #6

mvirts opened this issue Dec 27, 2021 · 1 comment

Comments

@mvirts
Copy link

mvirts commented Dec 27, 2021

Something along the lines of:

print(-1,2,-3,4,-5)
#[1,2,3,4,5]

print([-1,2,-3,4,-5](lambda a,b: aa+bb))
#1373609

@cgccuser
Copy link

cgccuser commented Jan 7, 2022

This can almost already be done with monkey patching, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants