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

Add flatMap? #71

Closed
carlthome opened this issue Jun 16, 2016 · 3 comments
Closed

Add flatMap? #71

carlthome opened this issue Jun 16, 2016 · 3 comments
Assignees
Labels

Comments

@carlthome
Copy link

Neat package! Could you add a flatMap to make it fully monadic also?

@neverendingqs
Copy link
Owner

Is mapmany() what you're looking for?

I was probably thinking too much in C# when thinking of a method name (SelectMany), but it seems like flatmap might be more appropriate.

Currently considering if I should add another method as an alias.

@carlthome
Copy link
Author

Ah, sure looks like. 🎉

No, an alias seems excessive. Again, great package. Have you considered merging with PyFunctional? It would be nice to consolidate the functional efforts in Python for it to gain more traction. My dream is that Guido eventually would accept a fluent interface for iterables in the standard library.

@neverendingqs
Copy link
Owner

I didn't know about PyFunctional, but it looks like we are trying to do the same thing. Going to join the conversation on https://gitter.im/EntilZha/PyFunctional.

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

No branches or pull requests

2 participants