summaryrefslogtreecommitdiff
path: root/src/library/scala/Tuple1.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/Tuple1.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/Tuple1.scala')
-rw-r--r--src/library/scala/Tuple1.scala11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/library/scala/Tuple1.scala b/src/library/scala/Tuple1.scala
index 771faaa015..6d31d35e51 100644
--- a/src/library/scala/Tuple1.scala
+++ b/src/library/scala/Tuple1.scala
@@ -5,18 +5,17 @@
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
-
-// generated by genprod on Sat Oct 16 11:19:09 PDT 2010
+// GENERATED CODE: DO NOT EDIT. See scala.Function0 for timestamp.
package scala
-
-
-/** Tuple1 is the canonical representation of a @see Product1
+/** A tuple of 1 elements; the canonical representation of a [[scala.Product1]].
*
+ * @constructor Create a new tuple with 1 elements.
+ * @param _1 Element 1 of this Tuple1
*/
-case class Tuple1[@specialized(Int, Long, Double) +T1](_1:T1)
+case class Tuple1[@specialized(Int, Long, Double) +T1](_1: T1)
extends Product1[T1]
{
override def toString() = "(" + _1 + ")"