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
RE: [Caml-list] laziness
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-06 (22:37)
From: Hartmann Schaffer <schaffer@a...>
Subject: Re: [Caml-list] laziness
Richard Jones wrote:

> ...
>One thing that worries me about laziness.
>Doesn't laziness often indicate a bug in the code?  ie.  You've
>written an expression in the program, but that expression is never
>used.  This is dead code, right?  Hence a bug?

well, programs supposedly run against quite a few different data sets, 
and depending on the particular data set, some code segments might never 
be executed


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners