From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 55407BC0A for ; Tue, 5 Jun 2007 00:06:11 +0200 (CEST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l54M69TM017236 for ; Tue, 5 Jun 2007 00:06:10 +0200 Received: by py-out-1112.google.com with SMTP id u52so2563191pyb for ; Mon, 04 Jun 2007 15:06:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KcuVDdC8NxGUeysiAjyskk8SMCvEgp4jo/O3BP6140wZOPrMNp5cgrHLkMWa+BD6vGT8swRGX6Y6hwckyv/b6vye9ZnWb8UUn5XRXTXIjaf478H+/sem5kIrSoVN+XwG1vw5oEH7SaihgbrK8g/Tv2S4oK9XCuC6toKt2EiZANM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=frx1EahCF2U6q94yYbtdKw37oiG9NmsysmKIuTATdEtKidImrHQvacPYjT5fQxQyd0n7VX4y/pqbdHX7FJJcUUk3rGICfvT+TNBh02GOjLFrgwMTnfdyxOj38zqV0yFEtxbkSGRT/n7nI5uvk8xHjo7BC10g1wQwLk6WdB+Ek6c= Received: by 10.65.239.14 with SMTP id q14mr184838qbr.1180994768931; Mon, 04 Jun 2007 15:06:08 -0700 (PDT) Received: by 10.64.241.10 with HTTP; Mon, 4 Jun 2007 15:06:08 -0700 (PDT) Message-ID: <4a708d20706041506s6c179cc9qd569741abb3a953@mail.gmail.com> Date: Tue, 5 Jun 2007 00:06:08 +0200 From: "Lukasz Stafiniak" To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] OCaml object types vs record types In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0EE1C559-A93C-4E66-AC70-8ADD1C21DDF8@rice.edu> X-j-chkmail-Score: MSGID : 46648CD1.002 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46648CD1.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lukasz:01 ocaml:01 ocaml:01 reuse:01 subtyping:01 polymorphic:01 wrote:01 caml-list:01 garrigue:03 garrigue:03 seems:03 types:03 types:03 jacques:03 nagoya-u:04 On 6/4/07, Nicolas Pouillard wrote: > > The pa_oo extension from Jacques Garrigue does exactly this kind of things: > > http://www.math.nagoya-u.ac.jp/~garrigue/code/ocaml.html > (works also in 3.10 but not released yet, contact me if you want it) > It seems to make for "polymorphic records", for which I've asked some time ago. (The lightest thing that allows for record label reuse by structural subtyping.)