From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA19239; Tue, 10 Jul 2001 10:44:10 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA19235 for ; Tue, 10 Jul 2001 10:44:09 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f6A8i4b29034; Tue, 10 Jul 2001 10:44:04 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id KAA07041; Tue, 10 Jul 2001 10:44:04 +0200 Date: Tue, 10 Jul 2001 10:44:04 +0200 From: Daniel de Rauglaudre To: John Erickson Cc: caml-list@inria.fr Subject: Re: [Caml-list] copying Streams Message-ID: <20010710104403.A6887@verdot.inria.fr> References: <20010709224416.B11837@mothra.cs.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <20010709224416.B11837@mothra.cs.utexas.edu>; from jderick@cs.utexas.edu on Mon, Jul 09, 2001 at 10:44:16PM -0500 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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