HOFs

Scala Higher Order Functions

Reading Time: 2 minutes Higher order function is a function that either takes a function as 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 or anonymous function etc. Let’s see an example. Passing a Function as Parameter in a Function Output: 50 Function Composition Continue Reading