in scala
trait ByNameFunction

`abstract trait` ByNameFunction [A, B]
  `extends` java.lang.Object
  `with` scala.ScalaObject

  A partial function of type `PartialFunction[A, B]` is a unary function where the domain does not include all values of type `A`. The function `isDefinedAt` allows to test dynamically, if a value is in the domain of the function.

Author:
  Martin Odersky
Version:
  1.0, 16/07/2003

Def Summary
`abstract` | `def` apply (x: => A) : B
`override` | `def` toString : java.lang.String

Def Detail

`abstract def` apply (x: => A): B

`override def` toString : java.lang.String