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=0.0 required=5.0 tests=AWL 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 EA719BC6B for ; Thu, 22 Feb 2007 13:41:25 +0100 (CET) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1MCfNxY032723 for ; Thu, 22 Feb 2007 13:41:25 +0100 Received: from ppp41-119.lns2.syd6.internode.on.net (HELO rosella) ([59.167.41.119]) by ipmail01.adl2.internode.on.net with ESMTP; 22 Feb 2007 23:11:21 +1030 X-IronPort-AV: i="4.14,205,1170595800"; d="scan'208"; a="92001190:sNHT20717123" Subject: Re: [Caml-list] Feature request : Tuples vs. records From: skaller To: Andrej.Bauer@andrej.com Cc: David Teller , caml-list@yquem.inria.fr In-Reply-To: <45DD73A8.3040703@fmf.uni-lj.si> References: <45DD6F8C.7080508@ens-lyon.org> <45DD73A8.3040703@fmf.uni-lj.si> Content-Type: text/plain Date: Thu, 22 Feb 2007 23:41:17 +1100 Message-Id: <1172148077.5345.18.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 45DD8F73.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; 0100,:01 andrej:01 ocaml:01 sml:01 ocaml:01 structurally:01 sourceforge:01 wrote:01 caml-list:01 tuples:01 tuples:01 typed:03 typed:03 cartesian:04 thu:05 On Thu, 2007-02-22 at 11:42 +0100, Andrej Bauer wrote: > By the way, I always wondered why ocaml doesn't have generic projection > operations from cartesian products (I belive they are writen #1, #2, #3 > ... in SML). There's another difference in Ocaml: records are nominally typed, tuples are structurally typed. -- John Skaller Felix, successor to C++: http://felix.sf.net