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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] copying Streams
Hi,

On Mon, Jul 09, 2001 at 10:44:16PM -0500, John Erickson wrote:

> Is there any way to copy a Stream (from the standard library)
> in such a way that the original stream is not modified when the
> copy is used and vice versa?

No, but in Camlp4, you have a library of functional streams Fstream
and syntax for functional streams and functional parsers pa_fstream.cmo.
See Camlp4 reference manual.
     http://caml.inria.fr/camlp4/manual/
     http://caml.inria.fr/camlp4/manual/manual007.html#toc30

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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