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
Monoid
orSemigroup
required. There is nopoint
operation. You can switch betweenWriterT
andUnwriterT
withunary_+
andunary_-
.