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

chain operator name #51

Open
konradekk opened this issue Nov 6, 2022 · 1 comment
Open

chain operator name #51

konradekk opened this issue Nov 6, 2022 · 1 comment

Comments

@konradekk
Copy link

I guess that the chain operator name is pretty well-established, both here and outside the project. Iʼm thinking of possibility to alias it to flatMap, so it would align slightly better with JS API for arrays etc.

See also similar issue with discussion elsewhere.

(Iʼm more used to of instead from for bind operator but thatʼs not a case with JS API.)

@JSMonk
Copy link
Owner

JSMonk commented Apr 2, 2023

Hey @konradekk. Thank you for the issue.
I think, I could add an alias too for the chain method to Either and Maybe monads (but not in the Monad interface, because it will break compatibility).

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