final case classUnwriterT[F[_], U, A](run: F[(U, A)]) extends Product with Serializable
This data type is isomorphic to WriterT, however, it is NOT a monad.
It implements flatMap+map and drops the write value. There is no Monoid or Semigroup required. There is no point operation.
You can switch between WriterT and UnwriterT with unary_+ and unary_-.
This data type is isomorphic to
WriterT, however, it is NOT a monad.It implements flatMap+map and drops the write value. There is no
MonoidorSemigrouprequired. There is nopointoperation. You can switch betweenWriterTandUnwriterTwithunary_+andunary_-.