Are these two ways of defining a function equivalent in Scala or there are some meaningful differences?
def add5: Int => Int = (x: Int) => x + 5 def add5(x: Int): Int = x + 5