Guest User

Untitled

a guest
Nov 18th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. object Foo {
  2. case class Bar(s:Int) {
  3. def =::= (that:Bar) = Bar(s + that.s)
  4. }
  5.  
  6. val b:Bar = Bar(1) =::= Bar(2)
  7. }
Add Comment
Please, Sign In to add comment