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

Would this solve case destructuring for EitherT? #11

Closed
AesaKamar opened this issue May 4, 2018 · 1 comment
Closed

Would this solve case destructuring for EitherT? #11

AesaKamar opened this issue May 4, 2018 · 1 comment

Comments

@AesaKamar
Copy link

I stumbled upon this thread in cats while searching for an answer to one of my problems:

import cats.data._
import cats.implicits._

for {
    (fromTupleA, fromTupleB) <- something: EitherT[F[_], A, B]
} yield  fromTupleA

I was encountering the error value filter is not a member of cats.data.EitherT
Is this related at all?

@AesaKamar
Copy link
Author

Nevermind, I read the readme and this is the exact use case...

Closing because I can't read q:

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

1 participant