com.phasmidsoftware.lascala.fp.NamedFunction5
See theNamedFunction5 companion object
class NamedFunction5[-T1, -T2, -T3, -T4, -T5, +R](val name: String, val f: (T1, T2, T3, T4, T5) => R) extends (T1, T2, T3, T4, T5) => R, Named
Type parameters
- R
-
the result type
- T1
-
the input type
- T2
-
the input type
- T3
-
the input type
- T4
-
the input type
- T5
-
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, T5) => 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
- v5
-
the 5th argument
Attributes
- Returns
-
the result of function application.
- Definition Classes
-
Function5
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)(x5) == apply(x1, x2, x3, x4, x5)
- Definition Classes
-
Function5
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 ->
Function5 ->
Any
Creates a tupled version of this function: instead of 5 arguments, it accepts a single scala.Tuple5 argument.
Creates a tupled version of this function: instead of 5 arguments, it accepts a single scala.Tuple5 argument.
Attributes
- Returns
-
a function f such that f((x1, x2, x3, x4, x5)) == f(Tuple5(x1, x2, x3, x4, x5)) == apply(x1, x2, x3, x4, x5)
- Definition Classes
-
Function5
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