Class

scalaz.stream.Process

WriterSyntax

Related Doc: package Process

Permalink

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. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

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

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

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

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

    Permalink

    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]

    Permalink

    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]

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

    Permalink

    Transform the write side of this Writer.

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

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

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

    Permalink

    Map over the output side of this Writer.

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

    Permalink

    Map over the write side of this Writer.

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

    Permalink

    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]

    Permalink

    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]

    Permalink

    Pipe output side of this Writer

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

    Permalink

    Pipe write side of this Writer

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

    Permalink
  18. def stripO: Process[F, W]

    Permalink

    Remove the output side of this Writer.

  19. def stripW: Process[F, O]

    Permalink

    Remove the write side of this Writer.

  20. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped