Scala FunctionX¶
Resources¶
Basics¶
Function1[Int, Int]
[Int <- Type of first argument, Int <- return type]
Function2[String, String, String]
[String <- Type of first argument, String <- Type of second
argument, <- return type]
From this course lecture:
All Scala functions are instances of FunctionX types.