Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] view types in ocaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gérard_Huet <Gerard.Huet@i...>
Subject: Re: [Caml-list] view types in ocaml?

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 
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 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: