Created
March 31, 2013 03:33
-
-
Save rirakkumya/5279440 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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