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
[Caml-list] Streams.from
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-12-09 (22:22)
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@l...>
Subject: Re: [Caml-list] Streams.from

Nick Grey writes:
 > When a stream is created using Stream.from, is the function f garunteed
 > to be called with the stream count parameter 0, 1, 2, ...

No. For instance, repeated calls to Stream.peek will clearly call f
several times on the same count value (see the code in stdlib/

Jean-Christophe Filliātre (

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