From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p4N8TD2M016491 for ; Mon, 23 May 2011 10:29:13 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiYCALEZ2k1KfVIukGdsb2JhbACEXKE+CBQBAQEBCQkNBxQEIqcJi188CoIrg1U3iGIBAQMGgSWDZ4EHBJARhC9cNYVFOyuDDA X-IronPort-AV: E=Sophos;i="4.65,255,1304287200"; d="scan'208";a="83703974" Received: from mail-ww0-f46.google.com ([74.125.82.46]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 23 May 2011 10:29:08 +0200 Received: by wwb28 with SMTP id 28so5743501wwb.3 for ; Mon, 23 May 2011 01:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=T2eNy320a9NDSc3sHbc7dl7K18WasLmgBlByNZgUlCk=; b=W3XgqDZGDjF9875Ss0IbFIIIohLneoSDSxMYvZVkJPHUM/3e3Bl8J4er0t8fEyNV8o MWxq76ljx7bTWa+rjuFk+kC8dqbN1ecsh56ygJtX9DNsKgTzpdCRKswTFb9BT5CLCbuN B8Znypw0aDBIeZxa+jgHXJ2kEJUZqCGhE64LA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=imkbSmaZmzPjN+QRUjdCA9QJN3/Hl99FLbQHw6YHruFVoHvpF4Qyl3kPvMeNI4MvH4 ea6FaCUo8GwZUk+hP8W+jNSRVXTIqx4NqszF4e6/UTQB098omEieYqVi7aNSCPu+/nSf xiv7U15On+oZ5LKMdvN/mWstGOQYiX9erK1Ss= Received: by 10.227.209.9 with SMTP id ge9mr1926924wbb.110.1306139347957; Mon, 23 May 2011 01:29:07 -0700 (PDT) Received: from [172.17.1.5] (papillon.metalscan.fr [93.95.58.150]) by mx.google.com with ESMTPS id w12sm3926650wby.41.2011.05.23.01.29.06 (version=SSLv3 cipher=OTHER); Mon, 23 May 2011 01:29:06 -0700 (PDT) Message-ID: <4DDA1AD1.9070606@gmail.com> Date: Mon, 23 May 2011 10:29:05 +0200 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Caml Mailing List References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] ocaml, objects, classes, type ascription, virtual methods I'm not sure I understand your question. Isn't "inherit" what you want? Salutations Matt