
orcus.async.Par.scala Maven / Gradle / Ivy
The newest version!
package orcus.async
import cats.~>
trait Par[F[_]] {
type G[_]
def parallel: F ~> G
}
object Par {
type Aux[F[_], G0[_]] = Par[F] { type G[α] = G0[α] }
@inline def apply[F[_], G[_]](implicit F: Aux[F, G]): Aux[F, G] = F
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy