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
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-07 (08:38)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] laziness
> The example was given of:
>  let x = ... in let y = ... in x
> Under lazy evaluation, "y" is never evaluated, but it's still dead code.

let x = f() in

might trigger some mutations or IO, it can't be safely considered dead code
in an impure functional language such as OCaml.

Nicolas Cannasse

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: