24 Jan
2003
24 Jan
'03
4:09 p.m.
On Fri, 24 Jan 2003 09:18:47 -0600 "Kevin S. Millikin" <kmillikin@atcorp.com> wrote:
So your trick *is* used to implement lazy evaluation in other languages. It's not very pleasant if you write a lot of lazy code, because you have to explicitly suspend evaluation of values using delay and explicitly demand evaluation using force.
In ocaml, there is the lazy module, that does exactly the simulation of lazynes with lambda abstractions. Vince