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. NotNull
  4. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  4. def ->[B](y: B): (WriterSyntax[F, W, O], B)

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to ArrowAssoc[WriterSyntax[F, W, O]] performed by method any2ArrowAssoc 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 information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (WriterSyntax[F, W, O]) ⇒ Boolean): WriterSyntax[F, W, O]

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): WriterSyntax[F, W, O]

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): WriterSyntax[F, W, O]

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method any2Ensuring 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 information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to StringFormat performed by method any2stringfmt 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 information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to ArrowAssoc[WriterSyntax[F, W, O]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (writerSyntax: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (writerSyntax: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: WriterSyntax[F, W, O]

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to ArrowAssoc[WriterSyntax[F, W, O]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (writerSyntax: ArrowAssoc[WriterSyntax[F, W, O]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: WriterSyntax[F, W, O]

    Implicit information
    This member is added by an implicit conversion from WriterSyntax[F, W, O] to Ensuring[WriterSyntax[F, W, O]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (writerSyntax: Ensuring[WriterSyntax[F, W, O]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

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

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

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

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

Ungrouped