Registry / other / zio-interop-cats-2-12

zio-interop-cats-2-12

JSON →
library3.3.0javamavenunverified

ZIO interop with Cats Effect for Scala 2.12.

<dependency> <groupId>dev.zio</groupId> <artifactId>zio-interop-cats_2.12</artifactId> <version>3.3.0</version> </dependency>
INSTALL
IMPORT
SIG · ZIO-INTEROP-CATS-2
Z
zio-interop-cats-2-12
otherjavav3.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

catz
✓ zio.interop.catz._

Converts a Cats Effect IO to a ZIO Task.

import zio._ import zio.interop.catz._ import cats.effect.IO object Example extends App { def run(args: List[String]): URIO[ZEnv, ExitCode] = { val catsIO: IO[Throwable, String] = IO("Hello from Cats") val zioTask: Task[String] = catsIO.to[Task] zioTask.exitCode } }
Debug
Known issues
breakingThis artifact is for Scala 2.12; use zio-interop-cats_2.13 or zio-interop-cats_3 for other versions.
fix
Select the correct Scala version artifact.
affects: 3.x
Upgrade
Version history
3.3.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
28
Resources
zio-interop-cats-2-12 — mvn dependency:get zio-interop-cats-2-12 · libregistry