From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA07439; Tue, 16 Jul 2002 11:48:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 LAA07094 for ; Tue, 16 Jul 2002 11:48:32 +0200 (MET DST) Received: from feu.irisa.fr (feu.irisa.fr [131.254.60.80]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6G9mVb01230 for ; Tue, 16 Jul 2002 11:48:31 +0200 (MET DST) Received: from paros.irisa.fr (paros.irisa.fr [131.254.12.23]) by feu.irisa.fr (8.11.4/8.11.4) with ESMTP id g6G9mSi19454; Tue, 16 Jul 2002 11:48:28 +0200 (MET DST) Date: Tue, 16 Jul 2002 11:48:28 +0200 (CEST) From: Laurent Vibert To: Alessandro Baretta cc: Ocaml Subject: Re: [Caml-list] Recovering masked methods In-Reply-To: <3D33E74C.6050307@baretta.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 16 Jul 2002, Alessandro Baretta wrote: > class a = > object > ... > end > > class b = > object > inherit a > ... > end > > class c = > object > inherit a as super_a through b as super_b { through > as }* > ... > end > isn't multiple inheritance enougth for this ? class c = object inherit a as super_a inherit b as super_b method m = super_a # m (* other method are left unchanged *) end ------------------- 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