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 MAA25801; Tue, 13 Mar 2001 12:18:45 +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 MAA25299 for ; Tue, 13 Mar 2001 12:18:44 +0100 (MET) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f2DBIh900261; Tue, 13 Mar 2001 12:18:43 +0100 (MET) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.11.3/2001022100) with ESMTP id f2DBIfx13776; Tue, 13 Mar 2001 12:18:41 +0100 (CET) Received: from ps.uni-sb.de (grizzly.ps.uni-sb.de [134.96.186.68]) by cs.uni-sb.de (8.11.3/2001020500) with ESMTP id f2DBIgq01544; Tue, 13 Mar 2001 12:18:42 +0100 (CET) X-Authentication-Warning: rigel.cs.uni-sb.de: Host grizzly.ps.uni-sb.de [134.96.186.68] claimed to be ps.uni-sb.de Received: from ps.uni-sb.de (grieg.ps.uni-sb.de [134.96.186.139]) by ps.uni-sb.de (8.11.0/8.11.0) with ESMTP id f2DBIfe02042; Tue, 13 Mar 2001 12:18:41 +0100 Message-ID: <3AAE0211.CE2139E4@ps.uni-sb.de> Date: Tue, 13 Mar 2001 12:18:41 +0100 From: Andreas Rossberg Organization: =?iso-8859-1?Q?Universit=E4t?= des Saarlandes X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Xavier Leroy CC: caml-list@inria.fr, Christophe Raffalli Subject: Re: [Caml-list] Caml 3.01 : pb with include References: <20010311060436.A14277@verdot.inria.fr> <3AACB899.5206E211@univ-savoie.fr> <3AAD03BF.BDABDE1@ps.uni-sb.de> <20010313113214.B24377@pauillac.inria.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Xavier Leroy wrote: > > I can't remember, but the design and implementation of "with module" > dates back to 1996, so my memory is a bit hazy :-) BTW, to challenge your memory a bit more :-), was there a reason not to integrate manifest module specifications along with "with module"? It seems a bit odd that I can write sig module X : S end with module X = Y and now even sig module X : S include sig module Y : T end with module Y = X end but not simply sig module X : S = Y end and sig module X : S module Y : T = X end as for types. > There might be examples of signature surgery where the current > behavior is useful (I need to go back to my examples to check), I believe so as well, but up to now I was not able to come up with any. If you have an interesting example, I would like to learn about it. Cheers, - Andreas PS: The docs seem to be somewhat `conservative' on include for signatures: they say the syntax is include modtype-path but obviously it is the more general include module-type -- Andreas Rossberg, rossberg@ps.uni-sb.de "Computer games don't affect kids. If Pac Man affected us as kids, we would all be running around in darkened rooms, munching pills, and listening to repetitive music." ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr