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

Document why monad transformers don't have Applicative instances. #2272

Closed
kailuowang opened this issue May 30, 2018 · 1 comment
Closed

Comments

@kailuowang
Copy link
Contributor

see #2181 (comment)
Probably in the FAQ section, maybe also mention in the guideline.

@kubukoz
Copy link
Member

kubukoz commented May 30, 2018

I could implement this sometime this week if it's OK.

Worth noting (from gitter: https://gitter.im/typelevel/cats?at=5b0ed363361a950a6629f2a4)

Jakub Kozłowski @kubukoz 18:37
#2272 - is this correct? I see a MonadError for EitherT, which implies Applicative
I'm probably missing something obvious

LukaJCB @LukaJCB 18:39
Right, of course they do have an Applicative, just that Applicative[F] doesn’t give them an Applicative :)

Edit: mention using .nested instead

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

No branches or pull requests

2 participants