Skip to content

Instantly share code, notes, and snippets.

@rirakkumya
Created March 31, 2013 03:33
Show Gist options
  • Save rirakkumya/5279440 to your computer and use it in GitHub Desktop.
Save rirakkumya/5279440 to your computer and use it in GitHub Desktop.
trait Cat {
type A
type B
type C
def f:A => B
def g:B => C
def f_g:A => C = f andThen g
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment