Higher Order Functions in Scala.
Briefly

First-class functions in Scala can be assigned to variables, passed as arguments, and returned from functions, similar to any other data type.
Higher-order functions, facilitated by first-class functions, involve functions as arguments or return values, enhancing the power and expressiveness of code.
Read at Medium
[
add
]
[
|
|
]