From: Francis Dupont <dupont@givry>
To: cr@dcs.ed.ac.uk
Cc: xavier@theory.stanford.edu, caml-list@margaux
Subject: Re: streams
Date: Fri, 19 Mar 1993 15:54:39 +0100 [thread overview]
Message-ID: <199303191454.AA03885@givry.inria.fr> (raw)
In-Reply-To: Your message of Thu, 18 Mar 1993 22:28:19 GMT. <8280.9303182228@damsay.dcs.ed.ac.uk>
A propos de streams (flux dans le Val de Loire), en Lazy CAML c'est
un type liste sans contructeur [] (appele aussi 'Nil) et avec un
constructeur :: (appele aussi 'Cons) lazy (paresseux).
Un exemple figure dans ma these dans la section sur les applications
de l'evaluation paresseuse, en haut de la page 53:
type 'a stream = { lazy Hd : 'a ; lazy Tl : 'a stream };;
(PS: comme il n'y a qu'un seul constructeur on ne met pas de type somme).
(PS: une variante consiste a ne rendre que Tl paresseux).
Les valeurs de ce type sont toujours infinies et necessitent donc
une evaluation paresseux (implicite ou explicite, cad codee avec des fonctions)
Francis.Dupont@inria.fr
next prev parent reply other threads:[~1993-03-22 9:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-03-17 18:10 Encore du pattern matching et des streams cr
1993-03-18 21:32 ` streams Xavier Leroy
1993-03-18 22:28 ` streams cr
1993-03-19 14:54 ` Francis Dupont [this message]
2006-08-10 10:51 Streams Error404
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=199303191454.AA03885@givry.inria.fr \
--to=dupont@givry \
--cc=caml-list@margaux \
--cc=cr@dcs.ed.ac.uk \
--cc=xavier@theory.stanford.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