From: "Andrej Bauer" <andrej.bauer@andrej.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Implementation of lazy_t
Date: Tue, 11 Nov 2008 07:35:05 +0100 [thread overview]
Message-ID: <7d8707de0811102235r160ddfe1t40e2e8c839cb3e06@mail.gmail.com> (raw)
In-Reply-To: <20081110171229.GC803@NANA.localdomain>
If I may advertise myself, have a look at the implementation of
MiniHaskell at the PL Zoo, http://andrej.com/plzoo/ . It has lazy
lists, and the code is supposed to be educational.
Hmm, looking at interp.ml I see that it's not as call-by-need as it
could be. So, a good exercise then is to fix the interpreter to make
it lazier :-)
Best regards,
Andrej
> On Mon, Nov 10, 2008 at 05:31:15PM +0100, Florian Lorenzen wrote:
>> I would like to know how lazy datatype constructors are implemented in
>> OCaml.
next prev parent reply other threads:[~2008-11-11 6:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-10 16:31 Florian Lorenzen
2008-11-10 17:01 ` [Caml-list] " David Teller
2008-11-10 17:12 ` Mauricio Fernandez
2008-11-11 6:35 ` Andrej Bauer [this message]
2008-11-13 10:22 ` Florian Lorenzen
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=7d8707de0811102235r160ddfe1t40e2e8c839cb3e06@mail.gmail.com \
--to=andrej.bauer@andrej.com \
--cc=caml-list@inria.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;
as well as URLs for NNTP newsgroup(s).