object writer extends WriterCreation with WriterInterpretation
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- writer
- WriterInterpretation
- WriterCreation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
-
implicit
def
ListFold[A]: FoldId[A, List[A]]
- Definition Classes
- WriterInterpretation
-
def
MonoidFold[A](implicit arg0: Monoid[A]): FoldId[A, A]
- Definition Classes
- WriterInterpretation
-
def
UnsafeFold[A](f: (A) ⇒ Unit): FoldId[A, Unit]
- Definition Classes
- WriterInterpretation
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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$]Writer[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
runWriterFold[R, U, O, A, B](w: Eff[R, A])(fold: FoldId[O, B])(implicit m: Aux[[β$3$]Writer[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
runWriterUnsafe[R, U, O, A](w: Eff[R, A])(f: (O) ⇒ Unit)(implicit m: Aux[[β$7$]Writer[O, β$7$], 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
tell[R, O](o: O)(implicit member: |=[[β$0$]Writer[O, β$0$], R]): Eff[R, Unit]
write a given value
write a given value
- Definition Classes
- WriterCreation
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )