We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import com.twitter.algebird._ import com.twitter.algebird.Semigroup import com.twitter.algebird.Operators._ case class Point(x: Long, y: Long) implicit val semigroup = Semigroup.apply(Point.apply _, Point.unapply _) val p1 = Point(5,7) val p2 = Point(2,3) p1 + p2