What the difference between the two defs below
def
def someFun(x:String) { x.length }
AND
def someFun(x:String) = {
The former is
def someFun(x: String): Unit = { x.length () // return unit }
And the latter is
def someFun(x: String): Int = { x.length // returned }