diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-04-16 14:45:25 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-04-16 14:45:25 +0000 |
commit | 92ec9e276b481844860a07f1e9e64dff2c4ce7f8 (patch) | |
tree | 7930a55bb4868ab45f98f80d0bdf57accf3f9e39 /src/library/scala/Product14.scala | |
parent | 374b34db53f480d51507a554abfe029ee20d1c2b (diff) | |
download | scala-92ec9e276b481844860a07f1e9e64dff2c4ce7f8.tar.gz scala-92ec9e276b481844860a07f1e9e64dff2c4ce7f8.tar.bz2 scala-92ec9e276b481844860a07f1e9e64dff2c4ce7f8.zip |
Improvements to genprod
Added uncurry to Function2, swap to Tuple2.
Diffstat (limited to 'src/library/scala/Product14.scala')
-rw-r--r-- | src/library/scala/Product14.scala | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/library/scala/Product14.scala b/src/library/scala/Product14.scala index 5c201201a2..e1bc0b72d3 100644 --- a/src/library/scala/Product14.scala +++ b/src/library/scala/Product14.scala @@ -1,7 +1,7 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** @@ -9,7 +9,7 @@ // $Id$ -// generated by genprod on Thu Apr 19 18:52:00 CEST 2007 +// generated by genprod on Wed Apr 16 16:26:09 CEST 2008 package scala @@ -21,6 +21,7 @@ object Product14 { } /** Product14 is a cartesian product of 14 components + * */ trait Product14[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +T13, +T14] extends Product { @@ -38,6 +39,7 @@ trait Product14[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 case 1 => _2 @@ -99,4 +101,6 @@ trait Product14[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + def _14: T14 + + } |