izumi.functional.bio.catz.scala Maven / Gradle / Ivy
package izumi.functional.bio
/**
* Automatic converters from BIO* hierarchy to equivalent cats & cats-effect classes.
*
* {{{
* import izumi.functional.bio.IO2
* import izumi.functional.bio.catz.*
* import cats.effect.Sync
*
* def divideByZero[F[+_, +_]: IO2]: F[Throwable, Int] = {
* Sync[F[Throwable, _]].delay(10 / 0)
* }
* }}}
*/
object catz extends CatsConversions
© 2015 - 2024 Weber Informatics LLC | Privacy Policy