summaryrefslogblamecommitdiff
path: root/sources/scala/PartialFunction.scala
blob: 82edad02cc2880667cd8713b9e4c9354dae19cd7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                                          
                                                                          




                                                                          

       
              
 


                                                    
 
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2003, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |                                         **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id$

package scala;


trait PartialFunction[-A, +B] with Function1[A, B] {
    def isDefinedAt(x: A): Boolean;
}