caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: John Erickson <jderick@cs.utexas.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] copying Streams
Date: Tue, 10 Jul 2001 10:44:04 +0200	[thread overview]
Message-ID: <20010710104403.A6887@verdot.inria.fr> (raw)
In-Reply-To: <20010709224416.B11837@mothra.cs.utexas.edu>; from jderick@cs.utexas.edu on Mon, Jul 09, 2001 at 10:44:16PM -0500

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


  reply	other threads:[~2001-07-10  8:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-10  3:44 John Erickson
2001-07-10  8:44 ` Daniel de Rauglaudre [this message]
2001-07-10  9:03 ` Pierre.Boulet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010710104403.A6887@verdot.inria.fr \
    --to=daniel.de_rauglaudre@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=jderick@cs.utexas.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).