c

scalaz.stream

WriterSyntax

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
writer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WriterSyntax
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to any2stringadd[WriterSyntax[F, W, O]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (WriterSyntax[F, W, O], B)
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to ArrowAssoc[WriterSyntax[F, W, O]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def drainO: Writer[F, W, Nothing]

    Ignore the output side of this Writer.

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

    Ignore the write side of this Writer.

  9. def ensuring(cond: (WriterSyntax[F, W, O]) ⇒ Boolean, msg: ⇒ Any): WriterSyntax[F, W, O]
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (WriterSyntax[F, W, O]) ⇒ Boolean): WriterSyntax[F, W, O]
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): WriterSyntax[F, W, O]
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): WriterSyntax[F, W, O]
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def flatMapO[F2[x] >: F[x], W2 >: W, B](f: (O) ⇒ Writer[F2, W2, B]): Writer[F2, W2, B]
  14. 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.

  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to StringFormat[WriterSyntax[F, W, O]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def mapO[B](f: (O) ⇒ B): Writer[F, W, B]

    Map over the output side of this Writer.

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

    Map over the write side of this Writer.

  20. 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.

  21. 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.

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

    Pipe output side of this Writer

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

    Pipe write side of this Writer

  24. val self: Writer[F, W, O]
  25. def stripO: Process[F, W]

    Remove the output side of this Writer.

  26. def stripW: Process[F, O]

    Remove the write side of this Writer.

  27. def toString(): String
    Definition Classes
    Any
  28. def [B](y: B): (WriterSyntax[F, W, O], B)
    Implicit
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to ArrowAssoc[WriterSyntax[F, W, O]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from WriterSyntax[F, W, O] to any2stringadd[WriterSyntax[F, W, O]]

Inherited by implicit conversion StringFormat from WriterSyntax[F, W, O] to StringFormat[WriterSyntax[F, W, O]]

Inherited by implicit conversion Ensuring from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]]

Inherited by implicit conversion ArrowAssoc from WriterSyntax[F, W, O] to ArrowAssoc[WriterSyntax[F, W, O]]

Ungrouped