From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 3BE1FBB9C for ; Thu, 19 Jan 2006 15:38:01 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k0JEc04D029193 for ; Thu, 19 Jan 2006 15:38:00 +0100 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 PAA07233 for ; Thu, 19 Jan 2006 15:38:00 +0100 (MET) Received: from mail.barettadeit.com (h213-255-109-130.albacom.net [213.255.109.130] (may be forged)) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k0JEbxud004391 for ; Thu, 19 Jan 2006 15:38:00 +0100 Received: from [10.0.0.10] (alex.barettalocal.com [10.0.0.10]) by mail.barettadeit.com (Postfix) with ESMTP id 5086C50F8; Thu, 19 Jan 2006 15:42:32 +0100 (CET) Message-ID: <43CFA455.8020308@barettadeit.com> Date: Thu, 19 Jan 2006 15:38:13 +0100 From: Alessandro Baretta User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacques Garrigue Cc: caml-list@inria.fr Subject: Re: [Caml-list] Constraints in module types References: <43CF6FA7.8040604@barettadeit.com> <20060119.203820.30488493.garrigue@math.nagoya-u.ac.jp> In-Reply-To: <20060119.203820.30488493.garrigue@math.nagoya-u.ac.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43CFA448.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43CFA447.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; baretta:01 baretta:01 barettadeit:01 caml-list:01 barettadeit:01 sig:01 foo:01 foo:01 xcaml:01 xcaml:01 asxcaml:01 wrote:01 srl:01 jacques:01 jacques:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Jacques Garrigue wrote: > From: Alessandro Baretta > On the other hand > > module type BAR = sig type bar = private [> foo] end > > means "require the type bar to be an instance of type [> foo]". > I suppose this is what you intended? > > Jacques What a man! Thank you! This is exactly what I was trying to express. Alex -- ********************************************************************* http://www.barettadeit.com/ Baretta DE&IT A division of Baretta SRL tel. +39 02 370 111 55 fax. +39 02 370 111 54 Our technology: The Application System/Xcaml (AS/Xcaml) The FreerP Project