summaryrefslogtreecommitdiff
path: root/src/library/scala/Tuple4.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-02-20 06:51:57 +0000
committerPaul Phillips <paulp@improving.org>2011-02-20 06:51:57 +0000
commitfd1ca1e63c876046936f681be26730a301da8ff2 (patch)
tree6db9fac72b958af0df8c51eeae8478c0fe5b6a98 /src/library/scala/Tuple4.scala
parent6a570deed1790889f7036a00c045c15217313587 (diff)
downloadscala-fd1ca1e63c876046936f681be26730a301da8ff2.tar.gz
scala-fd1ca1e63c876046936f681be26730a301da8ff2.tar.bz2
scala-fd1ca1e63c876046936f681be26730a301da8ff2.zip
Moved unlift to the Function companion object, ...
Moved unlift to the Function companion object, which might have been better in the first place. Had to make a minor change to genprod, and then I couldn't escape that unscathed. Finished the not very complete undertaking I found there to update the scaladoc. Lots of little changes to the generated text and code. I changed genprod to only put a unique stamp on Function0 so we can stop having a 100 file diff everytime an i is dotted somewhere. Closes #3825, no review.
Diffstat (limited to 'src/library/scala/Tuple4.scala')
-rw-r--r--src/library/scala/Tuple4.scala14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/library/scala/Tuple4.scala b/src/library/scala/Tuple4.scala
index a183958a08..a919072c88 100644
--- a/src/library/scala/Tuple4.scala
+++ b/src/library/scala/Tuple4.scala
@@ -5,18 +5,20 @@
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
-
-// generated by genprod on Sat Oct 16 11:19:09 PDT 2010
+// GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp.
package scala
-
-
-/** Tuple4 is the canonical representation of a @see Product4
+/** A tuple of 4 elements; the canonical representation of a [[scala.Product4]].
*
+ * @constructor Create a new tuple with 4 elements. Note that it is more idiomatic to create a Tuple4 via `(t1, t2, t3, t4)`
+ * @param _1 Element 1 of this Tuple4
+ * @param _2 Element 2 of this Tuple4
+ * @param _3 Element 3 of this Tuple4
+ * @param _4 Element 4 of this Tuple4
*/
-case class Tuple4[+T1, +T2, +T3, +T4](_1:T1,_2:T2,_3:T3,_4:T4)
+case class Tuple4[+T1, +T2, +T3, +T4](_1: T1, _2: T2, _3: T3, _4: T4)
extends Product4[T1, T2, T3, T4]
{
override def toString() = "(" + _1 + "," + _2 + "," + _3 + "," + _4 + ")"