EitherT with multiple return types
问题 I am trying to compose futures with for-comprehension and EitherT, but I am having trouble due the return types. Please can someone explain why this does not compile and how can I make it compile changing the for-comprehension? import scala.concurrent.Future import scala.concurrent.ExecutionContext.Implicits.global import cats.data.EitherT import cats.implicits._ object CatsApp extends App { case class L1(a: String) case class L2(a: String) case class L3(a: String) case class R1(num: Int)