Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Generators/iterators and lazy evaluation?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-04-04 (20:10)
From: Mathias Kende <mathias@k...>
Subject: Re: [Caml-list] Generators/iterators and lazy evaluation?

Le mercredi 04 avril 2007 à 11:33 -0500, Raj B a écrit :
>  see right now is breaking this code down into little functions,
> saving the current execution environment during the suspend and
> keeping track of the right function to call the next time.

Are you not just looking for the "lazy" keyword, and the Lazy module ?