From: Zheng Li <zheng_li@users.sourceforge.net>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: let rec and environment sharing
Date: Fri, 31 Oct 2008 22:17:55 +0100 [thread overview]
Message-ID: <490B7603.3010606@users.sourceforge.net> (raw)
In-Reply-To: <C3CA8AE1-AFE1-40E9-9701-F89BFA35AC17@erratique.ch>
Hi
Daniel Bünzli wrote:
> Hello,
>
> Is the closure's environment of definitions introduced by let rec shared
> between the definitions ?
AFAIK, the answer is yes.
- I once saw this on a teaching slide of Xavier Leroy (I don't
remember which one, but you can probably find it on his webpage)
- I did encounter this encoding when implementing Vprint
Btw, it is called infix pointers, and there's a "infix" tag for OCaml
block value.
HTH.
--
Zheng
next prev parent reply other threads:[~2008-10-31 21:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 19:04 Daniel Bünzli
[not found] ` <4d1b2df20810301240o77e110cft6070c5cd0ad863b6@mail.gmail.com>
2008-10-30 19:58 ` [Caml-list] " Daniel Bünzli
[not found] ` <4d1b2df20810310346j7824c379udceff0517c6eac94@mail.gmail.com>
[not found] ` <265BA436-5079-47E2-862E-9A1CD15ECDCB@erratique.ch>
[not found] ` <4d1b2df20810310843k79ef135fn5deaa9632272dd97@mail.gmail.com>
2008-10-31 16:10 ` Daniel Bünzli
2008-10-31 21:17 ` Zheng Li [this message]
2008-11-01 10:40 ` Daniel Bünzli
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=490B7603.3010606@users.sourceforge.net \
--to=zheng_li@users.sourceforge.net \
--cc=caml-list@inria.fr \
--cc=daniel.buenzli@erratique.ch \
/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).