diff options
author | michelou <michelou@epfl.ch> | 2007-07-12 12:33:02 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-07-12 12:33:02 +0000 |
commit | a874f351097b67eef720bb64faffc603070526ed (patch) | |
tree | 7d5e688db6026855cfbc3ad7496638692ccb8339 /src/library/scala/PartialFunction.scala | |
parent | 7ccd176538e8d5b18ad7e5a9370fbc4510d93640 (diff) | |
download | scala-a874f351097b67eef720bb64faffc603070526ed.tar.gz scala-a874f351097b67eef720bb64faffc603070526ed.tar.bz2 scala-a874f351097b67eef720bb64faffc603070526ed.zip |
minor changes
Diffstat (limited to 'src/library/scala/PartialFunction.scala')
-rw-r--r-- | src/library/scala/PartialFunction.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/PartialFunction.scala b/src/library/scala/PartialFunction.scala index 13f4602c5f..1118652540 100644 --- a/src/library/scala/PartialFunction.scala +++ b/src/library/scala/PartialFunction.scala @@ -1,7 +1,7 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ @@ -9,7 +9,7 @@ // $Id$ -package scala; +package scala /** A partial function of type <code>PartialFunction[A, B]</code> is a @@ -27,7 +27,7 @@ trait PartialFunction[-A, +B] extends AnyRef with (A => B) { * @param x the value to test * @return true, iff <code>x</code> is in the domain of this function. */ - def isDefinedAt(x: A): Boolean; + def isDefinedAt(x: A): Boolean def orElse[A1 <: A, B1 >: B](that: PartialFunction[A1, B1]) : PartialFunction[A1, B1] = new PartialFunction[A1, B1] { |