Typelevel Cats Integration

You are viewing the documentation for the latest Monix 3.x series.
Older versions: 2.x

Since series 3.x Monix depends on and provides direct integration with Typelevel’s Cats library, implementing useful type-classes for the data types exposed and making use of the vast ecosystem.

Sample #

We can verify that Task is indeed a cats.Monad:

import cats.Monad
import monix.eval.Task

implicitly[Monad[Task]]
// res0: Monad[Task] = monix.eval.instances.CatsConcurrentForTask$@2c5f4d67