All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cats.syntax.binested.scala Maven / Gradle / Ivy

The newest version!
package cats
package syntax

import cats.data.Binested

trait BinestedSyntax {
  implicit final def catsSyntaxBinestedId[F[_, _], G[_], H[_], A, B](
    value: F[G[A], H[B]]
  ): BinestedIdOps[F, G, H, A, B] =
    new BinestedIdOps(value)
}

final class BinestedIdOps[F[_, _], G[_], H[_], A, B](private val value: F[G[A], H[B]]) extends AnyVal {
  def binested: Binested[F, G, H, A, B] = Binested(value)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy