NamedFunction0

com.phasmidsoftware.lascala.fp.NamedFunction0
See theNamedFunction0 companion object
class NamedFunction0[+R](val name: String, val f: () => R) extends () => R, Named

NamedFunction0 class.

Type parameters

R

the result type

Value parameters

f

the function itself

name

the name of this function

Attributes

Companion
object
Graph
Supertypes
trait Named
trait () => R
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def apply(): R

Applies the body of this function to the arguments.

Applies the body of this function to the arguments.

Attributes

Returns

the result of function application.

Definition Classes
Function0
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Named -> Function0 -> Any

Concrete fields

val f: () => R
val name: String

Provide the name of an object, primarily for rendering/debugging purposes.

Provide the name of an object, primarily for rendering/debugging purposes.

Attributes

Returns

the name

Inherited fields

val sCurried: String

Attributes

Inherited from:
Named
val sTupled: String

Attributes

Inherited from:
Named