Created
April 11, 2018 17:25
-
-
Save harmeetsingh0013/70cf01b47a12003ca3511917d77fa840 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
// generic trait addable | |
trait Addable[T] { | |
def add(a: T, b: T): T | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment