Created
January 31, 2016 06:29
-
-
Save erangaeb/cbd2d5750d4bef321781 to your computer and use it in GitHub Desktop.
Inheritance
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 Lambda { | |
val l = "Lambda" | |
} | |
trait Calculus extends Lambda { | |
val c = "Calculus" | |
val lc = l + c | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment