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

shims.Applicative.scala Maven / Gradle / Ivy

There is a newer version: 1.0-b0e5152
Show newest version
package shims

trait Applicative[F[_]] extends Functor[F] {
  def point[A](a: A): F[A]
  def ap[A, B](fa: F[A])(f: F[A => B]): F[B]
}

object Applicative {
  type Aux[F[_], Tag0] = Applicative[F] { type Tag = Tag0 }

  def apply[F[_]](implicit F: Applicative[F]): Applicative[F] = F
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy