scalaz.stream.Process

WriterSyntax

implicit class WriterSyntax[F[_], W, O] extends AnyRef

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
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. WriterSyntax
  2. AnyRef
  3. 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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def connectO[F2[x] >: F[x], O2, O3](chan: Channel[F2, O, O2])(q: Wye[O, O2, O3])(implicit F2: Nondeterminism[F2]): Writer[F2, W, O3]

    Feed the right side of this Process through the given Channel, using q to control the queueing strategy.

  9. def connectW[F2[x] >: F[x], W2, W3](chan: Channel[F2, W, W2])(q: Wye[W, W2, W3])(implicit F2: Nondeterminism[F2]): Writer[F2, W3, O]

    Feed the write side of this Process through the given Channel, using q to control the queueing strategy.

  10. def drainO[F2[x] >: F[x]](maxUnacknowledged: Int)(s: Sink[F2, O])(implicit F2: Nondeterminism[F2]): Process[F2, W]

    Feed the right side of this Process to a Sink, allowing up to maxUnacknowledged elements to enqueue at the Sink before blocking on the Sink.

  11. def drainW[F2[x] >: F[x]](maxUnacknowledged: Int)(s: Sink[F2, W])(implicit F2: Nondeterminism[F2]): Process[F2, O]

    Observe the write side of this Writer nondeterministically using the given Sink, allowing up to maxUnacknowledged elements to enqueue at the Sink without a response.

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

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flatMapO[F2[x] >: F[x], W2 >: W, B](f: (O) ⇒ Writer[F2, W2, B]): Writer[F2, W2, B]

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

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

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

    Map over the output side of this Writer.

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

    Map over the write side of this Writer.

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. 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.

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

  28. def stripO: Process[F, W]

  29. def stripW: Process[F, O]

    Remove the write side of this Writer.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped