Class

org.specs2.codata

WriterSyntax

Related Doc: package codata

Permalink

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.

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: Writer[F, W, Nothing]

    Permalink

    Ignore the output side of this Writer.

  6. def drainW: Writer[F, Nothing, O]

    Permalink

    Ignore the write side of this Writer.

  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