Likewise, “=> A” in a method parameter would be shorthand for “Function0[A]”.
That is to say, you prefer to remove the feature of call-by-name and allow lazy
keyword on parameter instead.
Not exactly. Some use cases require reevaluation.
Likewise, “=> A” in a method parameter would be shorthand for “Function0[A]”.
That is to say, you prefer to remove the feature of call-by-name and allow lazy
keyword on parameter instead.
Not exactly. Some use cases require reevaluation.