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.
scala> def foo[T](f: T => T, b: T) = f(b) def foo[T](f: Function1[T, T], b: T): T scala> def pairself[T](a:T) = (a,a) def pairself[T](a: T): Tuple2[T, T] scala> pairself(("ouch",2.0)) val res0: Tuple2[Tuple2[String, Double], Tuple2[String, Double]] = ((ouch,2.0),(ouch,2.0))