English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2003-01-21 (16:38)
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 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