diff options
author | Paul Phillips <paulp@improving.org> | 2009-06-17 21:23:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-06-17 21:23:05 +0000 |
commit | e58673295a780ab7e9e2098a907df3466866a300 (patch) | |
tree | 42f86877667555d5c91a5cceb1e852190a64dc51 /src/library/scala/Function1.scala | |
parent | cd7e1a17286cde131e93d1cb1b34dfd3e83d9d59 (diff) | |
download | scala-e58673295a780ab7e9e2098a907df3466866a300.tar.gz scala-e58673295a780ab7e9e2098a907df3466866a300.tar.bz2 scala-e58673295a780ab7e9e2098a907df3466866a300.zip |
Newly generated Tuple/Product/Function classes ...
Newly generated Tuple/Product/Function classes from new genprod, plus a
couple minor tweaks to genprod to keep tests happy.
Diffstat (limited to 'src/library/scala/Function1.scala')
-rw-r--r-- | src/library/scala/Function1.scala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/library/scala/Function1.scala b/src/library/scala/Function1.scala index e6bd50e519..7cfd32304e 100644 --- a/src/library/scala/Function1.scala +++ b/src/library/scala/Function1.scala @@ -1,4 +1,3 @@ - /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2009, LAMP/EPFL ** @@ -9,18 +8,19 @@ // $Id$ -// generated by genprod on Wed Apr 23 10:06:16 CEST 2008 (with fancy comment) (with extra methods) +// generated by genprod on Wed Jun 17 14:10:05 PDT 2009 (with fancy comment) (with extra methods) package scala + /** <p> - * Function with 1 parameters. + * Function with 1 parameter. * </p> * <p> - In the following example the definition of - * <code>succ</code> is a shorthand for the anonymous class definition - * <code>anonfun1</code>: + * In the following example the definition of + * <code>succ</code> is a shorthand for the anonymous class + * definition <code>anonfun1</code>: * </p> * <pre> * <b>object</b> Main <b>extends</b> Application { @@ -37,7 +37,7 @@ package scala */ trait Function1[-T1, +R] extends AnyRef { self => def apply(v1:T1): R - override def toString() = "<function>" + override def toString() = "<function1>" /** (f compose g)(x) == f(g(x)) */ |