final case
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_-
.
- Companion
- object
Value members
Concrete methods
def bitraverse[G[_], C, D](f: U => G[C], g: A => G[D])(implicit G: Applicative[G], F: Traverse[F]): G[UnwriterT[F, C, D]]
def traverse[G[_], B](f: A => G[B])(implicit G: Applicative[G], F: Traverse[F]): G[UnwriterT[F, U, B]]