Skip to content

Instantly share code, notes, and snippets.

@andreypopp
Created June 30, 2011 23:31
Show Gist options
  • Save andreypopp/1057546 to your computer and use it in GitHub Desktop.
Save andreypopp/1057546 to your computer and use it in GitHub Desktop.
class S[A, B, C] {
def apply[A, B, C](f: A => (B => C), g: A => B, x: A): C =
(f(x))(g(x))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment