From: "Gérard Huet" <Gerard.Huet@inria.fr>
To: "Yaron M. Minsky" <yminsky@CS.Cornell.EDU>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] view types in ocaml?
Date: Tue, 21 Jan 2003 17:40:36 +0100 [thread overview]
Message-ID: <1139A46B-2D5F-11D7-9FEE-0003938819CE@inria.fr> (raw)
In-Reply-To: <1043160165.17408.1612.camel@dragonfly.localdomain>
Le mardi, 21 jan 2003, à 15:42 Europe/Paris, Yaron M. Minsky a écrit :
> Another useful extension to the ocaml toplevel which has been proposed
> in the past is to have some kind of default "this" variable which
> stores
> unbound variables. That would make the supression of let-bound easier
> to use, since if you wanted to see how something printed out, you could
> refrain from let-binding it, and still get access to the result using
> the "this" variable.
For the record, this facility existed in the original ML from LCF 20
years ago,
the variable was called "it" and it was extremely useful in top-level
debugging.
It was still there in ML V6.2 circa 1985, and thus also in early
versions of Caml.
I do not remember who took "it" off, but maybe "it" could be
resurrected...
GH
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2003-01-21 16:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-21 1:14 Ed L Cashin
2003-01-21 12:54 ` Yaron M. Minsky
[not found] ` <20030121134608.GA495@first.in-berlin.de>
2003-01-21 14:42 ` Yaron M. Minsky
2003-01-21 16:40 ` Gérard Huet [this message]
2003-01-21 3:13 Ed L Cashin
2003-01-21 11:48 ` Remi VANICAT
2003-01-21 12:55 ` Ed L Cashin
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=1139A46B-2D5F-11D7-9FEE-0003938819CE@inria.fr \
--to=gerard.huet@inria.fr \
--cc=caml-list@inria.fr \
--cc=yminsky@CS.Cornell.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