PolyLazyMemoizerEffect

turbolift.effects.PolyLazyMemoizerEffect
abstract class PolyLazyMemoizerEffect extends Polymorphic_-+[LazyMemoizerEffect, Any, Any]

Polymorphic variant of LazyMemoizerEffect.

The 'K' and 'V' parameters are inferred from the call sites of the effects's operations and handlers.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object LazyMemoizer

Members list

Type members

Classlikes

object handlers

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
handlers.type

Inherited classlikes

final class Polymorphize[X, Y]

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

Inherited and Abstract types

type @@[-X, +Y]

Read as Apply

Read as Apply

This effect, but with given type parameters applied.

Attributes

Inherited from:
Polymorphic_-+

Value members

Concrete methods

final def domain[K, V]: Computation[Set[K], K @@ V]
final def memo[K, V](k: K): Computation[() => V, K @@ V]
final def toMap[K, V]: Computation[Map[K, V], K @@ V]

Inherited methods

inline def polymorphize[X, Y]: Polymorphize[X, Y]

API for defining custom effects.

API for defining custom effects.

Attributes

Inherited from:
Polymorphic_-+

Inherited fields

protected val monomorphic: LazyMemoizerEffect[Any, Any]

Attributes

Inherited from:
Polymorphic_-+