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. -- /Jacob Carlborg
Jacob Carlborg via Digitalmars-d Sat, 27 Dec 2014 07:15:49 -0800
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. -- /Jacob Carlborg