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
Context
In the following example, only "goodbye" gets printed :
import cats.effect.IOApp import cats.effect.IO import cats.effect.std._ import cats.effect.kernel.syntax.all._ import cats.data.OptionT object Main extends IOApp.Simple { type Foo[A] = OptionT[IO, A] val prog: Foo[Int] = OptionT[IO, Int](IO.pure(None)) def run: IO[Unit] = { prog .guarantee(Console[Foo].println("hit guarantee")) .value .productR(IO.println("goodbye")) } }
This is caused by the generic implementation of bracketFull which doesn't take into consideration the algebraic "unhappy" cases of monad transformers.
The text was updated successfully, but these errors were encountered:
bracketFull
Successfully merging a pull request may close this issue.
Context
In the following example, only "goodbye" gets printed :
This is caused by the generic implementation of bracketFull which doesn't take into consideration the algebraic "unhappy" cases of monad transformers.
The text was updated successfully, but these errors were encountered: