summaryrefslogtreecommitdiff
path: root/src/library/scala/Function0.scala
blob: 65e106caa4b6448af196985a33e5aade80f826cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2006, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |                                         **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id$


package scala


/**
 * Function with no parameters
 */
trait Function0[+R] extends AnyRef {
  def apply(): R
  override def toString() = "<function>"
}