Packages

final case class UnwriterT[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_-.

Self Type
UnwriterT[F, U, A]
Source
UnwriterT.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnwriterT
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnwriterT(run: F[(U, A)])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ap[B](f: => UnwriterT[F, U, (A) => B])(implicit F: Apply[F]): UnwriterT[F, U, B]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bimap[C, D](f: (U) => C, g: (A) => D)(implicit F: Functor[F]): UnwriterT[F, C, D]
  7. 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]]
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def colocal[X](f: (U) => X)(implicit F: Functor[F]): UnwriterT[F, X, A]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def flatMap[B](f: (A) => UnwriterT[F, U, B])(implicit F: Bind[F]): UnwriterT[F, U, B]
  13. def foldRight[B](z: => B)(f: (A, => B) => B)(implicit F: Foldable[F]): B
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def leftMap[C](f: (U) => C)(implicit F: Functor[F]): UnwriterT[F, C, A]
  17. def map[B](f: (A) => B)(implicit F: Functor[F]): UnwriterT[F, U, B]
  18. def mapT[G[_], V, B](f: (F[(U, A)]) => G[(V, B)]): UnwriterT[G, V, B]
  19. def mapUnwritten[X](f: (U) => X)(implicit F: Functor[F]): UnwriterT[F, X, A]
  20. def mapValue[X, B](f: ((U, A)) => (X, B))(implicit F: Functor[F]): UnwriterT[F, X, B]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def on: WriterT[F, U, A]
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. val run: F[(U, A)]
  27. def swap(implicit F: Functor[F]): UnwriterT[F, A, U]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def traverse[G[_], B](f: (A) => G[B])(implicit G: Applicative[G], F: Traverse[F]): G[UnwriterT[F, U, B]]
  30. def unary_+: WriterT[F, U, A]

    alias for on

  31. def unwritten(implicit F: Functor[F]): F[U]
  32. def value(implicit F: Functor[F]): F[A]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. def wpoint[G[_]](implicit F: Functor[F], P: Applicative[G]): UnwriterT[F, G[U], A]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped