From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: Nicolas George <nicolas.george@ens.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Different types of streams
Date: Mon, 27 Aug 2001 11:49:06 +0200 [thread overview]
Message-ID: <20010827114906.K13152@verdot.inria.fr> (raw)
In-Reply-To: <20010826202317.A9010@aimlin>; from nicolas.george@ens.fr on Sun, Aug 26, 2001 at 08:23:17PM +0200
Hi,
On Sun, Aug 26, 2001 at 08:23:17PM +0200, Nicolas George wrote:
> Is there any deep reason to have two incompatible types of streams in the
> same Caml type: those built using [< >] expressions and those built with
> Stream.from Stream.of_channel?
I am the implementor of the streams. Actually, I have never been interested
in the streams themselves, but more in parsing. I would have preferred that
streams were just a couple of functions: (unit -> 'a) * (unit -> unit) where
the first function returns the first element of the stream and the second
function throws the first element away.
I am not sure that streams built with [< >] are so interesting, especially
if they are destinated to a real parser.
--
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
next prev parent reply other threads:[~2001-08-27 9:49 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-26 18:23 Nicolas George
2001-08-27 9:49 ` Daniel de Rauglaudre [this message]
2001-08-27 17:47 ` Nicolas George
2001-08-28 8:20 ` Daniel de Rauglaudre
2001-08-28 9:33 ` Nicolas George
2001-08-29 8:39 ` Daniel de Rauglaudre
2001-09-05 1:03 ` Christian RINDERKNECHT
2001-09-05 7:34 ` Daniel de Rauglaudre
2001-09-05 8:02 ` STARYNKEVITCH Basile
2001-09-05 9:10 ` Daniel de Rauglaudre
2001-09-05 9:13 ` Alex Cowie
2001-09-05 9:30 ` Daniel de Rauglaudre
2001-09-05 10:58 ` Dave Mason
2001-09-05 12:06 ` Daniel de Rauglaudre
2001-09-05 12:56 ` Dave Mason
2001-09-05 14:01 ` Daniel de Rauglaudre
2001-09-05 13:29 ` Nicolas George
2001-09-05 14:30 ` Patrick M Doane
2001-09-05 14:44 ` Daniel de Rauglaudre
2001-09-05 14:55 ` Patrick M Doane
2001-09-05 19:39 ` Brian Rogoff
2001-09-05 14:49 ` [Caml-list] Camlp4 and CamlIDL in main distribution? Markus Mottl
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=20010827114906.K13152@verdot.inria.fr \
--to=daniel.de_rauglaudre@inria.fr \
--cc=caml-list@inria.fr \
--cc=nicolas.george@ens.fr \
/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