scalaz.stream.Process

WriterSyntax

implicit final class WriterSyntax[F[_], W, O] extends AnyVal

Infix syntax for working with Writer[F,W,O]. We call the W parameter the 'write' side of the Writer and O the 'output' side. Many method in this class end with either W or O, depending on what side they operate on.

Source
Process.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WriterSyntax
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WriterSyntax(self: Writer[F, W, O])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def drainO(snk: Sink[F, O]): Process[F, W]

    Observe the output side of this Writer using the given Sink, then discard it. Also see observeW.

  6. def drainW(snk: Sink[F, W]): Process[F, O]

    Observe the write side of this Writer using the given Sink, then discard it.

    Observe the write side of this Writer using the given Sink, then discard it. Also see observeW.

  7. def flatMapO[F2[x] >: F[x], W2 >: W, B](f: (O) ⇒ Writer[F2, W2, B]): Writer[F2, W2, B]

  8. def flatMapW[F2[x] >: F[x], W2, O2 >: O](f: (W) ⇒ Writer[F2, W2, O2]): Writer[F2, W2, O2]

    Transform the write side of this Writer.

  9. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  11. def mapO[B](f: (O) ⇒ B): Writer[F, W, B]

    Map over the output side of this Writer.

  12. def mapW[W2](f: (W) ⇒ W2): Writer[F, W2, O]

    Map over the write side of this Writer.

  13. def observeO(snk: Sink[F, O]): Writer[F, W, O]

    Observe the output side of this Writer using the given Sink, keeping it available for subsequent processing.

    Observe the output side of this Writer using the given Sink, keeping it available for subsequent processing. Also see drainO.

  14. def observeW(snk: Sink[F, W]): Writer[F, W, O]

    Observe the write side of this Writer using the given Sink, keeping it available for subsequent processing.

    Observe the write side of this Writer using the given Sink, keeping it available for subsequent processing. Also see drainW.

  15. def pipeO[B](f: Process1[O, B]): Writer[F, W, B]

    Pipe output side of this Writer

  16. def pipeW[B](f: Process1[W, B]): Writer[F, B, O]

    Pipe write side of this Writer

  17. val self: Writer[F, W, O]

  18. def stripO: Process[F, W]

    Remove the output side of this Writer.

  19. def stripW: Process[F, O]

    Remove the write side of this Writer.

  20. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped