From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA07453 for caml-red; Tue, 31 Oct 2000 17:52:51 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA09021 for ; Tue, 31 Oct 2000 17:49:09 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id e9VGlw127064; Tue, 31 Oct 2000 17:47:58 +0100 (MET) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA05334; Tue, 31 Oct 2000 17:47:58 +0100 (MET) From: Pierre Weis Message-Id: <200010311647.RAA05334@pauillac.inria.fr> Subject: Re: Redefinition doesn't work In-Reply-To: <20001031125223.A24595@lambda.u-strasbg.fr> from Sven LUTHER at "Oct 31, 100 12:52:23 pm" To: luther@dpt-info.u-strasbg.fr (Sven LUTHER) Date: Tue, 31 Oct 2000 17:47:58 +0100 (MET) Cc: caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: weis@pauillac.inria.fr > Isn't it possible to have a rebind or something such keyboard, that would test > that the type of the newly binded value is the same as the old value, or maybe > even something larger than that ? > > Friendly, > > Sven LUTHER It is not only a question of type. As I mentioned in my previous message, if you allow the user to ``rebind'' some basic functions, such as map or iter, the behaviour of the compiler can be unpredictable. Friendly, Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/