Lazy evaluation alternative

Nick Name nick.name@inwind.it
Fri, 24 Jan 2003 17:09:05 +0100


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