English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 ?