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
- Alphabetic
- By Inheritance
- WriterSyntax
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
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
-
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()
-
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
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
-
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
-
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
-
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
- 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
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()
-
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
-
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