object WriterInterpretation extends WriterInterpretation
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WriterInterpretation
- WriterInterpretation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def EvalFold[A](f: (A) => Eval[Unit]): RightFold[A, Eval[Unit]]
- Definition Classes
- WriterInterpretation
- def IntoMonoidFold[M, A](f: (A) => M)(implicit arg0: Monoid[M]): RightFold[A, M]
- Definition Classes
- WriterInterpretation
- implicit def ListFold[A]: RightFold[A, List[A]]
- Definition Classes
- WriterInterpretation
- def MonoidFold[A](implicit arg0: Monoid[A]): RightFold[A, A]
- Definition Classes
- WriterInterpretation
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def runWriter[R, U, O, A, B](w: Eff[R, A])(implicit m: Aux[[β$2$]WriterT[[A]A, O, β$2$], R, U]): Eff[U, (A, List[O])]
run a writer effect and return the list of written values
run a writer effect and return the list of written values
This uses a ListBuffer internally to append values
- Definition Classes
- WriterInterpretation
- def runWriterEval[R, U, O, A](w: Eff[R, A])(f: (O) => Eval[Unit])(implicit m: Aux[[β$7$]WriterT[[A]A, O, β$7$], R, U], ev: |=[Eval, U]): Eff[U, A]
- Definition Classes
- WriterInterpretation
- def runWriterFold[R, U, O, A, B](w: Eff[R, A])(fold: RightFold[O, B])(implicit m: Aux[[β$3$]WriterT[[A]A, O, β$3$], R, U]): Eff[U, (A, B)]
More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer
More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer
- Definition Classes
- WriterInterpretation
- def runWriterIntoMonoid[R, U, O, M, A](w: Eff[R, A])(f: (O) => M)(implicit m: Aux[[β$9$]WriterT[[A]A, O, β$9$], R, U], M: Monoid[M]): Eff[U, (A, M)]
- Definition Classes
- WriterInterpretation
- def runWriterMonoid[R, U, O, A](w: Eff[R, A])(implicit m: Aux[[β$8$]WriterT[[A]A, O, β$8$], R, U], O: Monoid[O]): Eff[U, (A, O)]
- Definition Classes
- WriterInterpretation
- def runWriterUnsafe[R, U, O, A](w: Eff[R, A])(f: (O) => Unit)(implicit m: Aux[[β$5$]WriterT[[A]A, O, β$5$], R, U]): Eff[U, A]
Run a side-effecting fold
Run a side-effecting fold
- Definition Classes
- WriterInterpretation
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()