anybody can give me explain how to work call-by-name inside of the scala compiler?
Syntactic shortcut for that method will be such: arg: =>Int
will be transformed to arg: () => Int
and captures the passed parameter to the function, how a closure?
i.e real type of call-by-name parameter such: Function0[_]
?
Thanks.