On 2014-12-27 13:32, Nick Treleaven wrote:FWIW Apple's recent Swift has @autoclosure, which is the same as lazy.It's needed to implement assert in Swift.Doesn't Scala have something similar.
Yes, both Simula and Scala provide call-by-name.
On 2014-12-27 13:32, Nick Treleaven wrote:FWIW Apple's recent Swift has @autoclosure, which is the same as lazy.It's needed to implement assert in Swift.Doesn't Scala have something similar.
Yes, both Simula and Scala provide call-by-name.