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

ciris.api.syntax.ApplySyntax.scala Maven / Gradle / Ivy

There is a newer version: 0.12.1
Show newest version
package ciris.api.syntax

import ciris.api.Apply

trait ApplySyntax {
  implicit def applySyntaxOps[F[_]: Apply, A](fa: F[A]): ApplySyntaxOps[F, A] =
    new ApplySyntaxOps(fa)

  final class ApplySyntaxOps[F[_]: Apply, A](val fa: F[A]) {
    def product[B](fb: F[B]): F[(A, B)] = Apply[F].product(fa, fb)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy