We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Look at typelevel/cats-effect-cps#98
val program = async[IO]{ async[OptionTIO](optionT.await).value.await }
Here internal async before macro: before transformed:
{ val x$2$proxy18 = catsEffectCpsConcurrentMonad[[A] => OptionT[IO, A]](kernel.Async.asyncForOptionT[IO](IO.asyncForIO)) await[[A] => OptionT[IO, A], scala.Int, [A] => OptionT[IO, A]](optionT)(x$2$proxy18, evidence$29) }
After transformation become
transformed value: { val cpsMonad = catsEffectCpsConcurrentMonad[[A] => OptionT[[A] => IO[A], A]](kernel.Async.asyncForOptionT[IO](IO.asyncForIO)) cpsMonad.flatDelay[scala.Int]({ val x$2$proxy18 = catsEffectCpsConcurrentMonad[[A] => OptionT[cats.effect.IO, A]](kernel.Async.asyncForOptionT[IO](IO.asyncForIO)) optionT }) }
And we see that x$2proxy18. is not used and issue warning about this.
Probems: 1: we should catch for this morning F[_], not CpsMonad[F] 2: are we need keep non-used value ?
The text was updated successfully, but these errors were encountered:
e09a56a
rssh
No branches or pull requests
Look at typelevel/cats-effect-cps#98
Here internal async before macro:
before transformed:
After transformation become
And we see that x$2proxy18. is not used and issue warning about this.
Probems:
1: we should catch for this morning F[_], not CpsMonad[F]
2: are we need keep non-used value ?
The text was updated successfully, but these errors were encountered: