blob: d05373ed2872ffbd013bf5b5a24112ccc6dfc4e8 (
plain) (
tree)
|
|
package s
object Outer {
type Triple[+A, +B, +C] = Tuple3[A, B, C]
object Triple {
def apply[A, B, C](x: A, y: B, z: C) = Tuple3(x, y, z)
def unapply[A, B, C](x: Tuple3[A, B, C]): Option[Tuple3[A, B, C]] = Some(x)
}
}
|