From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 34F507FD28 for ; Mon, 9 Nov 2015 11:17:24 +0100 (CET) IronPort-PHdr: 9a23:384gFx+SfqchLP9uRHKM819IXTAuvvDOBiVQ1KB81ukcTK2v8tzYMVDF4r011RmSDdidt6kP07OempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXsq3G/pQQfBg/4fVIsYL+lR8iO1I/vjqibwN76XUZhvHKFe7R8LRG7/036l/I9ps9cEJs30QbDuXBSeu5blitCLFOXmAvgtI/rpMYwuwwZgf8q9tZBXKPmZOx4COUAVHV1e1wysYfQshTMURGI/j9Ud2QdkhNFB0KNuBT7VZf4vy+8re1w1zWAOtXeTLYoVDDk5KBuHlugriAdMjc/uEHekMBhxPZdpwikjxd228vQZ5uYcvF5e/WZNf0eQnBAV8AZaCFAB46mJ98BEMINMOBVpc/woUoJ6xezU1qCHuTqnxZMj37wlYMg0v8qEUmS1QgpHtQmvm7Vt971cqkIB7PmhJLUxCnOOqsFkQz275LFJ1V4+amB Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=alain@frisch.fr; spf=None smtp.mailfrom=alain@frisch.fr; spf=None smtp.helo=postmaster@mx30.yaziba.net Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of alain@frisch.fr) identity=pra; client-ip=82.138.71.21; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="alain@frisch.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of alain@frisch.fr) identity=mailfrom; client-ip=82.138.71.21; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="alain@frisch.fr"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mx30.yaziba.net) identity=helo; client-ip=82.138.71.21; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="postmaster@mx30.yaziba.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0B3AAD9cUBWnBVHilJEGoQObwHAJyGFbwKBMTwQAQEBAQEBAQEQAQEBAQEICwkJIS6CLoIIAQEEJxFAARALGAkWDwkDAgECAUUGAQwIAQGILgk7vwABAQEBAQUBAQEBH4tSiTkFlkiFHogJXYFHhnmTJgI4glKBXnEBhWUBAQE X-IPAS-Result: A0B3AAD9cUBWnBVHilJEGoQObwHAJyGFbwKBMTwQAQEBAQEBAQEQAQEBAQEICwkJIS6CLoIIAQEEJxFAARALGAkWDwkDAgECAUUGAQwIAQGILgk7vwABAQEBAQUBAQEBH4tSiTkFlkiFHogJXYFHhnmTJgI4glKBXnEBhWUBAQE X-IronPort-AV: E=Sophos;i="5.20,265,1444687200"; d="scan'208";a="186711006" Received: from mx30.yaziba.net ([82.138.71.21]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 09 Nov 2015 11:17:23 +0100 Received: from mta10.int.yaziba.net (unknown [217.117.151.14]) by mx30.yaziba.net (mx10.yaziba.net) with ESMTP id D3B951A743B; Mon, 9 Nov 2015 11:17:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id 127A6CA653; Mon, 9 Nov 2015 11:17:23 +0100 (CET) X-Virus-Scanned: amavisd-new at mta10.int.yaziba.net Received: from mta10.int.yaziba.net ([127.0.0.1]) by localhost (mta10.int.yaziba.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id luW74MswtQ3s; Mon, 9 Nov 2015 11:17:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mta10.int.yaziba.net (Postfix) with ESMTP id B521DCAC22; Mon, 9 Nov 2015 11:17:20 +0100 (CET) X-Virus-Scanned: amavisd-new at mta10.int.yaziba.net Received: from mta10.int.yaziba.net ([127.0.0.1]) by localhost (mta10.int.yaziba.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NnOglBoBmWbs; Mon, 9 Nov 2015 11:17:20 +0100 (CET) Received: from [10.0.210.115] (unknown [185.23.92.144]) by mta10.int.yaziba.net (Postfix) with ESMTPSA id A1D5ECA653; Mon, 9 Nov 2015 11:16:55 +0100 (CET) To: "Soegtrop, Michael" , Norman Hardy , Florian Weimer References: <0F7D3B1B3C4B894D824F5B822E3E5A172CE3E070@IRSMSX102.ger.corp.intel.com> <87pozk6vjp.fsf@mid.deneb.enyo.de> <0F7D3B1B3C4B894D824F5B822E3E5A172CE3E747@IRSMSX102.ger.corp.intel.com> Cc: "caml-list@inria.fr" From: Alain Frisch Message-ID: <56407297.2060309@frisch.fr> Date: Mon, 9 Nov 2015 11:16:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A172CE3E747@IRSMSX102.ger.corp.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-DRWEB-SCAN: ok X-VRSPAM-SCORE: -100 X-VRSPAM-STATE: legit X-VRSPAM-CAUSE: gggruggvucftvghtrhhoucdtuddrfeekhedrfeelgdehkecutefuodetggdotefrucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpjgetkgfkueetnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjegrtddtfeehnecuhfhrohhmpeetlhgrihhnucfhrhhishgthhcuoegrlhgrihhnsehfrhhishgthhdrfhhrqeenucffohhmrghinhepihhnrhhirgdrfhhrnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhht X-VRSPAM-EXTCAUSE: mhhouggvpehsmhhtphhouhht X-Validation-by: alain.frisch@lexifi.com Subject: Re: [Caml-list] Newbie comment on constructor syntax On 09/11/2015 09:09, Soegtrop, Michael wrote: > The notation looks like tuples, both in definition and use, but it isn't. The should be not big obstacle to allow using real tuples (values/patterns) with multi-argument constructors, thus perhaps reducing the confusion. In expression at least, this should be quite straightfoward because it can be understood as a local syntactic rewriting ("C e" -> "let (x1, ..., xn) = e in C (x1, ..., xn)" when C is a constructor with arity > 1 and "e" is not a syntactic tuple). See: http://caml.inria.fr/mantis/view.php?id=6455 -- Alain