Skip to content

Instantly share code, notes, and snippets.

@non
Created July 28, 2012 03:28
Show Gist options
  • Select an option

  • Save non/3191651 to your computer and use it in GitHub Desktop.

Select an option

Save non/3191651 to your computer and use it in GitHub Desktop.
trait Challenge[F[_]] {
def map[A, B](f:A => B): F[A] => F[B]
def ap[A, B](f:F[A => B]): F[A] => F[B]
def foo[A, B, C](f:A => B => C): F[A] => F[B] => F[C] = {
sys.error("implement me!")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment