Writer

turbolift.effects.Writer$package.Writer
case object Writer extends PolyWriterEffect

Predefined instance of PolyWriterEffect.

Note that using predefined effect instances like this, is anti-modular. However, they can be convenient in exploratory code.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Writer.type

Members list

Type members

Inherited classlikes

final class CensorApply[W]

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Attributes

Inherited from:
PolyWriterEffect
Supertypes
class Object
trait Matchable
class Any
final class ListenApply[W]

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Attributes

Inherited from:
PolyWriterEffect
Supertypes
class Object
trait Matchable
class Any
final class MuteApply[W]

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Attributes

Inherited from:
PolyWriterEffect
Supertypes
class Object
trait Matchable
class Any
final class PassApply[W]

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Attributes

Inherited from:
PolyWriterEffect
Supertypes
class Object
trait Matchable
class Any
final class Polymorphize[X]

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Helper class for partial type application. Won't be needed in future Scala (SIP-47).

Attributes

Inherited from:
Polymorphic_-
Supertypes
class Object
trait Matchable
class Any
object handlers

Predefined handlers for this effect.

Predefined handlers for this effect.

Attributes

Inherited from:
PolyWriterEffect
Supertypes
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

type @@[-X]

Read as Apply

Read as Apply

This effect, but with given type parameter applied.

Attributes

Inherited from:
Polymorphic_-
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Inherited methods

final def censor[W]: CensorApply[W]

Attributes

Inherited from:
PolyWriterEffect
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
final def listen[W]: ListenApply[W]

Attributes

Inherited from:
PolyWriterEffect
final def mute[W]: MuteApply[W]

Attributes

Inherited from:
PolyWriterEffect
final def pass[W]: PassApply[W]

Attributes

Inherited from:
PolyWriterEffect
inline def polymorphize[X]: Polymorphize[X]

API for defining custom effects.

API for defining custom effects.

Attributes

Inherited from:
Polymorphic_-
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def tell[W](w: W): Computation[Unit, @@[W]]

Attributes

Inherited from:
PolyWriterEffect

Inherited fields

protected val monomorphic: WriterEffect[Any]

Attributes

Inherited from:
Polymorphic_-