endless.core.interpret.SideEffectInterpreter
See theSideEffectInterpreter companion trait
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Lifts a pure interpreter into an SideEffectInterpreter
(which is expressed in context F
)
Lifts a pure interpreter into an SideEffectInterpreter
(which is expressed in context F
)
Type parameters
-
Alg
-
entity algebra
-
F
-
effect type
-
RepositoryAlg
-
repository algebra
-
S
-
state
Value parameters
-
pureSideEffect
-
pure side-effect (i.e. it doesn't require any effect to create the side-effect instance)
Attributes
-
Returns
-
side-effect interpreter in context F
Creates a no-op side-effect interpreter, for repositories that don't require any side-effect
Creates a no-op side-effect interpreter, for repositories that don't require any side-effect
Type parameters
-
Alg
-
entity algebra
-
F
-
effect type
-
RepositoryAlg
-
repository algebra
-
S
-
state
Attributes
-
Returns
-
unit side-effect interpreter in context F