Scala Higher Order Function

scala

Higher order function is a function that either takes a function as an argument or returns a function. In other words, we can say a function which works with function is called higher-order function.

Higher order function allows you to create

  • function composition
  • lambda function
  • anonymous function

Read more