ThisHandler

turbolift.internals.effect.EffectImpl.ThisHandler
object ThisHandler

Namespace for convenient versions of ThisHandler type alias, specialized by partially applying some or all of its type parameters.

For example: ThisHandler.FromId.ToId.Free is equivalent of ThisHandler[[X] =>> X, [X] =>> X, Any]

This works like type-level "fluent interface", where:

  • FromId and FromConst partially apply F[+_] parameter of ThisHandler type.
  • ToId and ToConst partially apply G[+_] parameter of ThisHandler type.
  • Free partially applies N parameter of ThisHandler type.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object FromConst

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
FromConst.type
object FromId

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
FromId.type
object ToConst

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ToConst.type
object ToId

Attributes

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

Types

type Free[F[_], G[_]] = Free[F, G, Fx]
type FromConst[C, F[_], N] = FromConst[C, F, Fx, N]
type FromId[F[_], N] = FromId[F, Fx, N]
type ToConst[F[_], D, N] = ToConst[F, D, Fx, N]
type ToId[F[_], N] = ToId[F, Fx, N]