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 KAA28264; Wed, 18 Jun 2003 10:31:56 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA01517 for ; Wed, 18 Jun 2003 10:31:55 +0200 (MET DST) Received: from newext.lri.fr (ext.lri.fr [129.175.15.4]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h5I8VtT11694 for ; Wed, 18 Jun 2003 10:31:55 +0200 (MET DST) Received: from serveur-mail.lri.fr (serveur-mail [129.175.8.90]) by newext.lri.fr (8.12.9/jtpda-5.4) with ESMTP id h5I8UGNS026407 for ; Wed, 18 Jun 2003 10:30:16 +0200 (MEST) Received: from pc8-119.lri.fr (pc8-119 [129.175.8.119]) by serveur-mail.lri.fr (8.11.6p2/jtpda-5.3.2) with ESMTP id h5I8UG106990 for ; Wed, 18 Jun 2003 10:30:16 +0200 (MEST) Received: from localhost ([127.0.0.1]) by pc8-119.lri.fr with esmtp (Exim 3.36 #1 (Debian)) id 19SYKd-0003mW-00 for ; Wed, 18 Jun 2003 10:30:15 +0200 Date: Wed, 18 Jun 2003 10:30:15 +0200 (MEST) From: Julien Signoles To: caml-list@inria.fr Subject: Re: [Caml-list] signature mismatch In-Reply-To: <3EEF1F2C.1060903@ps.uni-sb.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-Spam: no; 0.00; signoles:01 lri:01 caml-list:01 mismatch:01 rossberg:01 pietro:01 abate:01 struct:01 mcvoy:01 identifier:03 module:03 wrote:03 let:04 structure:06 practice:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 17 Jun 2003, Andreas Rossberg wrote: > Pietro Abate wrote: > > > > how can I force BB.t to be the same as AA.t ? > > module BB : A2 with type t = A1.t = struct > type t = A1.t > let toast f1 f2 = false > end It does not work because A1 is used as a structure identifier. It's ok if you replace A1 by AA. Julien -- mailto : Julien.Signoles@lri.fr ; http : www.lri.fr/~signoles "In theory, practice and theory are the same, but in practice they are different" (Larry McVoy) ------------------- 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