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 BC4A17F6CB for ; Wed, 28 Jan 2015 18:03:45 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of christoph.hoeger@tu-berlin.de) identity=pra; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="christoph.hoeger@tu-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of christoph.hoeger@tu-berlin.de) identity=mailfrom; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="christoph.hoeger@tu-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail.tu-berlin.de) identity=helo; client-ip=130.149.7.33; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="christoph.hoeger@tu-berlin.de"; x-sender="postmaster@mail.tu-berlin.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BkAQAnFclUnCEHlYJag1hZgwDBTAKHFUMBAQEBAREBAQEBAQgLCQkULoQ2DwFBBDYCBRYLAgsDAgECAVgGAgEBiCgEsSGPSJVggSGOdIIXDC8RgTAFkjmGa4UchViGM4FnDDAdgVFugkIBAQE X-IPAS-Result: A0BkAQAnFclUnCEHlYJag1hZgwDBTAKHFUMBAQEBAREBAQEBAQgLCQkULoQ2DwFBBDYCBRYLAgsDAgECAVgGAgEBiCgEsSGPSJVggSGOdIIXDC8RgTAFkjmGa4UchViGM4FnDDAdgVFugkIBAQE X-IronPort-AV: E=Sophos;i="5.09,481,1418079600"; d="scan'208";a="119060845" Received: from mail.tu-berlin.de ([130.149.7.33]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Jan 2015 18:03:45 +0100 X-tubIT-Incoming-IP: 91.64.130.234 Received: from ip5b4082ea.dynamic.kabel-deutschland.de ([91.64.130.234] helo=[192.168.178.31]) by mail.tu-berlin.de (exim-4.72/mailfrontend-5) with esmtpa for id 1YGW1n-0003fZ-84; Wed, 28 Jan 2015 18:03:44 +0100 Message-ID: <54C9166E.6080609@tu-berlin.de> Date: Wed, 28 Jan 2015 18:03:42 +0100 From: =?UTF-8?B?Q2hyaXN0b3BoIEjDtmdlcg==?= Organization: Technische =?UTF-8?B?VW5pdmVyc2l0w6R0IEJlcmxpbg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: caml-list@inria.fr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.1.28.165120 X-PMX-Spam: Gauge=IIIIIII, Probability=0%, Report='' Subject: [Caml-list] record update-apply -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, I often find myself writing code like this {foo with bar = f foo.bar} and would like to avoid the redundancy of typing 'bar'. So it would be very convenient to have an applied-to operator: {foo with bar <- f} This would only need one additional syntactic sort at the very first stage, since the operator can immediately be de-sugared into the already-existing with-form. What do you think? - -- Christoph Höger Technische Universität Berlin Fakultät IV - Elektrotechnik und Informatik Übersetzerbau und Programmiersprachen Sekr. TEL12-2, Ernst-Reuter-Platz 7, 10587 Berlin Tel.: +49 (30) 314-24890 E-Mail: christoph.hoeger@tu-berlin.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTJFm4ACgkQhMBO4cVSGS+4igCgu2ANaWyr5ZehpvW6XODpKlpJ 1vwAmQHCibACt3skuOOOrmlptZ95xg3p =gqBi -----END PGP SIGNATURE-----