Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Different types of streams
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas George <nicolas.george@e...>
Subject: Re: [Caml-list] Different types of streams
Le mardi 28 août 2001 à 10:20, Daniel de Rauglaudre a écrit :
>    type 'a stream =
>       Nil
>     | Cons of 'a Lazy.t * 'a stream Lazy.t
>     | App of 'a stream Lazy.t * 'a stream Lazy.t

This is approximatively what I have done. And aftr realizing that this was
almost the same structure as Stream.t, I wondered "why reinvent the wheel
every?".
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr