Skip to content

Instantly share code, notes, and snippets.

@mmollaverdi
Created October 27, 2016 17:44
Show Gist options
  • Save mmollaverdi/dc5bb6e0f179aaf6e1f18cd898885d88 to your computer and use it in GitHub Desktop.
Save mmollaverdi/dc5bb6e0f179aaf6e1f18cd898885d88 to your computer and use it in GitHub Desktop.

Revisions

  1. mmollaverdi created this gist Oct 27, 2016.
    3 changes: 3 additions & 0 deletions applicative.scala
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    trait Applicative[F[_]] {
    def map2[A, B, C](fa: F[A], fb: F[B])(f: (A, B) => C): F[C] = ??? // ...
    }