Skip to content

Instantly share code, notes, and snippets.

@mmollaverdi
Created October 27, 2016 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmollaverdi/f1a78b0d29b54ad76734039dc0bd8191 to your computer and use it in GitHub Desktop.
Save mmollaverdi/f1a78b0d29b54ad76734039dc0bd8191 to your computer and use it in GitHub Desktop.
trait Applicative[F[_]] {
def ap[A, B](ff: F[A => B])(fa: F[A]): F[B]
def pure[A](x: A): F[A]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment