Factory methods for creating Effects. Effects values can also be concatenated to produce "summary" effects.
val e1 = Effect("hello", print("hello")) val e2 = Effect("world", print("world")) val concatenatedEffects = Effect(e1, e2) concatenatedEffects.toString == hello/world
val concatenatedEffect = Effect(", ", e1, e2) concatenatedEffects2.toString == hello, world
Attributes
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Concrete methods
create an Effect from a value
create an Effect from a value
Attributes
create an Effect with a label and a value
create an Effect with a label and a value
Attributes
create an Effect from several other ones concatenating the labels
create an Effect from several other ones concatenating the labels
Attributes
Inherited methods
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
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product