CatsConversions

izumi.functional.bio.CatsConversions
See theCatsConversions companion object

Automatic converters from BIO* hierarchy to equivalent cats & cats-effect classes.

 import izumi.functional.bio.IO2
 import izumi.functional.bio.catz.*
 import cats.effect.kernel.Sync

 def divideByZero[F[+_, +_]: IO2]: F[Throwable, Int] = {
   Sync[F[Throwable, _]].delay(10 / 0)
 }

Attributes

Companion:
object
Graph
Supertypes
Known subtypes
object catz.type

Members list

Concise view

Implicits

Implicits

final implicit def BIOToFunctor[F[_, _], E](implicit F0: Functor2[F]): Functor[[_] =>> F[E, _$3]] & S1

Inherited implicits

final implicit def BIOToApplicative[F[_, _], E](implicit F0: Applicative2[F]): Applicative[[_] =>> F[E, _$8]] & S3

Attributes

Inherited from:
CatsConversions2
final implicit def BIOToAsync[F[_, _]](implicit ev: Functor2[F], F: Async2[F], T: Temporal2[F], Fork: Fork2[F], BlockingIO: BlockingIO2[F], Primitives: Primitives2[F]): Async[[_] =>> F[Throwable, _$38]] & S12

Attributes

Inherited from:
CatsConversions11
final implicit def BIOToBifunctor[F[_, _]](implicit F0: Bifunctor2[F]): Bifunctor[F] & S2

Attributes

Inherited from:
CatsConversions1
final implicit def BIOToClock[F[_, _], E](implicit F: Applicative2[F], Clock: Clock2[F]): Clock[[_] =>> F[E, _$17]] & S6

Attributes

Inherited from:
CatsConversions5
final implicit def BIOToConcurrent[F[_, _]](implicit F: IO2[F], FC: Concurrent2[F], Fork: Fork2[F], Primitives: Primitives2[F]): GenConcurrent[[_] =>> F[Throwable, _$29], Throwable] & S10

Attributes

Inherited from:
CatsConversions8
final implicit def BIOToMonad[F[_, _], E](implicit F: Monad2[F]): Monad[[_] =>> F[E, _$11]] & S4

Attributes

Inherited from:
CatsConversions3
final implicit def BIOToMonadCancel[F[_, _]](implicit F: Panic2[F]): MonadCancel[[_] =>> F[Throwable, _$20], Throwable] & S7

Attributes

Inherited from:
CatsConversions6
final implicit def BIOToMonadError[F[_, _], E](implicit F: Error2[F]): MonadError[[_] =>> F[E, _$14], E] & S5

Attributes

Inherited from:
CatsConversions4
final implicit def BIOToParallel[F[_, _]](implicit F: Parallel2[F]): Parallel[[_] =>> F[Throwable, _$32]]

Attributes

Inherited from:
CatsConversions9
final implicit def BIOToSpawn[F[_, _]](implicit F: IO2[F], FC: Concurrent2[F], Fork: Fork2[F]): GenSpawn[[_] =>> F[Throwable, _$26], Throwable] & S9

Attributes

Inherited from:
CatsConversions7
final implicit def BIOToSync[F[_, _]](implicit F: IO2[F], blocking: BlockingIO2[F], clock: Clock2[F]): Sync[[_] =>> F[Throwable, _$23]] & S8

Attributes

Inherited from:
CatsConversions60
final implicit def BIOToTemporal[F[_, _]](implicit F: IO2[F], FC: Concurrent2[F], FT: Temporal2[F], Fork: Fork2[F], Primitives: Primitives2[F], BlockingIO: BlockingIO2[F]): GenTemporal[[_] =>> F[Throwable, _$35], Throwable] & S11

Attributes

Inherited from:
CatsConversions10