Scala Higher-Order Functions
Briefly

Higher-order functions in Scala allow functions to be used in a wide range of contexts, making concepts like function composition possible.
Functions can be passed as arguments to other functions, returned as results, and assigned to variables in Scala, thanks to their first-class value treatment.
Read at Medium
[
add
]
[
|
|
]