Take below function as example:
val increment: (Int) => (Int) = (x) => (x+1)
How could this be used as function Type? or more specifically why such implementation is called function Type? How is it more beneficial than the below implementation of function?
def increment(x: Int): Int = x + 1