diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/Function0.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function1.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function2.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function3.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function4.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function5.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function6.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function7.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function8.scala | 6 | ||||
-rw-r--r-- | src/library/scala/Function9.scala | 6 |
10 files changed, 30 insertions, 30 deletions
diff --git a/src/library/scala/Function0.scala b/src/library/scala/Function0.scala index e7d2da57f4..65e106caa4 100644 --- a/src/library/scala/Function0.scala +++ b/src/library/scala/Function0.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with no parameters */ trait Function0[+R] extends AnyRef { - def apply(): R; - override def toString() = "<function>"; + def apply(): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function1.scala b/src/library/scala/Function1.scala index f928596332..efc056bd5f 100644 --- a/src/library/scala/Function1.scala +++ b/src/library/scala/Function1.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 1 parameter */ trait Function1[-T0, +R] extends AnyRef { - def apply(v0: T0): R; - override def toString() = "<function>"; + def apply(v0: T0): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function2.scala b/src/library/scala/Function2.scala index bea1a9a951..422235f387 100644 --- a/src/library/scala/Function2.scala +++ b/src/library/scala/Function2.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 2 parameters */ trait Function2[-T0, -T1, +R] extends AnyRef { - def apply(v0: T0, v1: T1): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function3.scala b/src/library/scala/Function3.scala index d161362d03..b3925841a4 100644 --- a/src/library/scala/Function3.scala +++ b/src/library/scala/Function3.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 3 parameters */ trait Function3[-T0, -T1, -T2, +R] extends AnyRef { - def apply(v0: T0, v1: T1, v2: T2): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1, v2: T2): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function4.scala b/src/library/scala/Function4.scala index 7ddbed0031..b419574b9d 100644 --- a/src/library/scala/Function4.scala +++ b/src/library/scala/Function4.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 4 parameters */ trait Function4[-T0, -T1, -T2, -T3, +R] extends AnyRef { - def apply(v0: T0, v1: T1, v2: T2, v3: T3): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1, v2: T2, v3: T3): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function5.scala b/src/library/scala/Function5.scala index 74fe7d1ca1..d2fa1e50fc 100644 --- a/src/library/scala/Function5.scala +++ b/src/library/scala/Function5.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 5 parameters */ trait Function5[-T0, -T1, -T2, -T3, -T4, +R] extends AnyRef { - def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function6.scala b/src/library/scala/Function6.scala index a46f17bb61..2d270af3c2 100644 --- a/src/library/scala/Function6.scala +++ b/src/library/scala/Function6.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 6 parameters */ trait Function6[-T0, -T1, -T2, -T3, -T4, -T5, +R] extends AnyRef { - def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function7.scala b/src/library/scala/Function7.scala index 95bdb39275..0e69ed3ed2 100644 --- a/src/library/scala/Function7.scala +++ b/src/library/scala/Function7.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 7 parameters */ trait Function7[-T0, -T1, -T2, -T3, -T4, -T5, -T6, +R] extends AnyRef { - def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function8.scala b/src/library/scala/Function8.scala index e0b87f00e2..f5e5206cae 100644 --- a/src/library/scala/Function8.scala +++ b/src/library/scala/Function8.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 8 parameters */ trait Function8[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, +R] extends AnyRef { - def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, v7: T7): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, v7: T7): R + override def toString() = "<function>" } diff --git a/src/library/scala/Function9.scala b/src/library/scala/Function9.scala index 87761c6f59..bbac15ce5e 100644 --- a/src/library/scala/Function9.scala +++ b/src/library/scala/Function9.scala @@ -9,13 +9,13 @@ // $Id$ -package scala; +package scala /** * Function with 9 parameters */ trait Function9[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +R] extends AnyRef { - def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, v7: T7, v8: T8): R; - override def toString() = "<function>"; + def apply(v0: T0, v1: T1, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6, v7: T7, v8: T8): R + override def toString() = "<function>" } |