com.phasmidsoftware.lascala.fp.NamedFunction4
See theNamedFunction4 companion object
class NamedFunction4[-T1, -T2, -T3, -T4, +R](val name: String, val f: (T1, T2, T3, T4) => R) extends (T1, T2, T3, T4) => R, Named
Type parameters
- R
-
the result type
- T1
-
the input type
- T2
-
the input type
- T3
-
the input type
- T4
-
the input type
Value parameters
- f
-
the function itself
- name
-
the name of this function
Attributes
- Companion
-
object
- Graph
-
- Supertypes
-
trait (T1, T2, T3, T4) => R
class Object
trait Matchable
class Any
Members list
Applies the body of this function to the arguments.
Applies the body of this function to the arguments.
Value parameters
- v1
-
the 1st argument
- v2
-
the 2nd argument
- v3
-
the 3rd argument
- v4
-
the 4th argument
Attributes
- Returns
-
the result of function application.
- Definition Classes
-
Function4
Creates a curried version of this function.
Creates a curried version of this function.
Attributes
- Returns
-
a function f such that f(x1)(x2)(x3)(x4) == apply(x1, x2, x3, x4)
- Definition Classes
-
Function4
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 ->
Function4 ->
Any
Creates a tupled version of this function: instead of 4 arguments, it accepts a single scala.Tuple4 argument.
Creates a tupled version of this function: instead of 4 arguments, it accepts a single scala.Tuple4 argument.
Attributes
- Returns
-
a function f such that f((x1, x2, x3, x4)) == f(Tuple4(x1, x2, x3, x4)) == apply(x1, x2, x3, x4)
- Definition Classes
-
Function4
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
Attributes
- Inherited from:
-
Named
Attributes
- Inherited from:
-
Named