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.
- Alphabetic
- By Inheritance
- WriterSyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
drainO: Writer[F, W, Nothing]
Ignore the output side of this
Writer. -
def
drainW: Writer[F, Nothing, O]
Ignore the write side of this
Writer. - def flatMapO[F2[x] >: F[x], W2 >: W, B](f: (O) ⇒ Writer[F2, W2, B]): Writer[F2, W2, B]
-
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. -
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapO[B](f: (O) ⇒ B): Writer[F, W, B]
Map over the output side of this
Writer. -
def
mapW[W2](f: (W) ⇒ W2): Writer[F, W2, O]
Map over the write side of this
Writer. -
def
observeO(snk: Sink[F, O]): Writer[F, W, O]
Observe the output side of this
Writerusing the givenSink, keeping it available for subsequent processing.Observe the output side of this
Writerusing the givenSink, keeping it available for subsequent processing. Also seedrainO. -
def
observeW(snk: Sink[F, W]): Writer[F, W, O]
Observe the write side of this
Writerusing the givenSink, keeping it available for subsequent processing.Observe the write side of this
Writerusing the givenSink, keeping it available for subsequent processing. Also seedrainW. -
def
pipeO[B](f: Process1[O, B]): Writer[F, W, B]
Pipe output side of this
Writer -
def
pipeW[B](f: Process1[W, B]): Writer[F, B, O]
Pipe write side of this
Writer - val self: Writer[F, W, O]
-
def
stripO: Process[F, W]
Remove the output side of this
Writer. -
def
stripW: Process[F, O]
Remove the write side of this
Writer. -
def
toString(): String
- Definition Classes
- Any