DefaultModule

izumi.distage.modules.DefaultModule
See theDefaultModule companion class

Attributes

Companion
class
Graph
Supertypes
Self type

Members list

Value members

Concrete methods

def apply[F[_]](implicit modules: DefaultModule[F], d: DummyImplicit): Module
def empty[F[_]]: DefaultModule[F]

Implicits

Implicits

final implicit def forIdentity: DefaultModule[Identity]

Empty since izumi.distage.modules.support.IdentitySupportModule is always available, even for non-Identity effects

Empty since izumi.distage.modules.support.IdentitySupportModule is always available, even for non-Identity effects

Attributes

Inherited implicits

final implicit def forCatsIO[IO[_] : cats.effect.IO]: DefaultModule[IO]

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect as a dependency without REQUIRING a cats-effect dependency.

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect as a dependency without REQUIRING a cats-effect dependency.

Optional instance via https://blog.7mind.io/no-more-orphans.html

Attributes

See also
Inherited from:
LowPriorityDefaultModulesInstances2
final implicit def forZIO[ZIO[_, _, _] : zio.ZIO, R : Tag]: DefaultModule2[[_, _] =>> ZIO[R, _$18, _$19]]

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have zio as a dependency without REQUIRING a zio dependency.

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have zio as a dependency without REQUIRING a zio dependency.

Optional instance via https://blog.7mind.io/no-more-orphans.html

Attributes

See also
Inherited from:
LowPriorityDefaultModulesInstances2
implicit def forZIOPlusCats[K[_[_], _], A[_[_]], ZIO[_, _, _], R](implicit ensureInteropCatsOnClasspath: zio.interop.CatsIOResourceSyntax[K], ensureCatsEffectOnClasspath: cats.effect.kernel.Async[A], isZIO: zio.ZIO[ZIO], tagR: Tag[R]): DefaultModule2[[_, _] =>> ZIO[R, _$13, _$14]]

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect & zio as a dependency without REQUIRING a cats-effect/zio dependency.

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect & zio as a dependency without REQUIRING a cats-effect/zio dependency.

Optional instance via https://blog.7mind.io/no-more-orphans.html

This adds cats typeclass instances to the default effect module if you have cats-effect and zio-interop-cats on classpath, otherwise the default effect module for ZIO will be forZIO, containing BIO & QuasiIO instances, but no cats-effect instances.

Attributes

Inherited from:
LowPriorityDefaultModulesInstances1
final implicit def fromCats[F[_], Async[_[_]], Parallel[_[_]], Dispatcher[_[_]]](implicit evidence$1: cats.effect.kernel.Async[Async], evidence$2: cats.Parallel[Parallel], evidence$3: cats.effect.std.Dispatcher[Dispatcher], F0: Async[F], P0: Parallel[F], D0: Dispatcher[F], tagK: Tag[F]): DefaultModule[F]

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect as a dependency without REQUIRING a cats-effect dependency.

This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have cats-effect as a dependency without REQUIRING a cats-effect dependency.

Optional instance via https://blog.7mind.io/no-more-orphans.html

Attributes

Inherited from:
LowPriorityDefaultModulesInstances4
final implicit def fromQuasiIO[F[_] : TagK : QuasiIO : QuasiAsync : QuasiTemporal : QuasiIORunner]: DefaultModule[F]

Attributes

Inherited from:
LowPriorityDefaultModulesInstances5