Skip to content

Instantly share code, notes, and snippets.

@harmeetsingh0013
Created April 11, 2018 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harmeetsingh0013/70cf01b47a12003ca3511917d77fa840 to your computer and use it in GitHub Desktop.
Save harmeetsingh0013/70cf01b47a12003ca3511917d77fa840 to your computer and use it in GitHub Desktop.
// 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