-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Kleisli: local and lmap are the same #624
Comments
I personally prefer |
@adelbertc at the risk of telling you something that you already know, |
Ah, I did not know that :-) That being said I agree with having a more meaningful name.. in which case I may swing back to having an alias for one of them or just keeping |
Just keeping local sounds good to me. |
It is the same as Kleisli.local. Fixes typelevel#624.
@philwills has pointed out on gitter that
local
andlmap
onKleisli
are essentially the same thing.We should probably either remove one of them or make one just an alias for the other (and document that it is so).
My personal preference would be to drop one of them. I think that aliases tend to just make it harder on the user, as it just gives them more to learn.
The text was updated successfully, but these errors were encountered: