Is there any difference between the following
def foo(s: String) = { ... }
and
def foo(s: => String) { ... }
both these definitions accept "sss" as parameter.
Is there any difference between the following
def foo(s: String) = { ... }
and
def foo(s: => String) { ... }
both these definitions accept "sss" as parameter.