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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 0FCB97F706 for ; Sat, 18 Jan 2014 10:43:48 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of dra-news@metastack.com) identity=pra; client-ip=62.13.148.110; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="dra-news@metastack.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of dra-news@metastack.com designates 62.13.148.110 as permitted sender) identity=mailfrom; client-ip=62.13.148.110; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="dra-news@metastack.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@outmail148110.authsmtp.com) identity=helo; client-ip=62.13.148.110; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dra-news@metastack.com"; x-sender="postmaster@outmail148110.authsmtp.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjYCAMBL2lI+DZRunGdsb2JhbABZgmqBL7gngwSBCBYOAQEBAQEIFAk8giUBAQEDATpECwIBCBgKFBAyJQIEG4d1CQPEMReOTjiDJIEUBJghlUSCKg X-IPAS-Result: AjYCAMBL2lI+DZRunGdsb2JhbABZgmqBL7gngwSBCBYOAQEBAQEIFAk8giUBAQEDATpECwIBCBgKFBAyJQIEG4d1CQPEMReOTjiDJIEUBJghlUSCKg X-IronPort-AV: E=Sophos;i="4.95,679,1384297200"; d="scan'208";a="45262860" Received: from outmail148110.authsmtp.com ([62.13.148.110]) by mail3-smtp-sop.national.inria.fr with ESMTP; 18 Jan 2014 10:43:47 +0100 Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237]) by punt14.authsmtp.com (8.14.2/8.14.2) with ESMTP id s0I9hkqf030968 for ; Sat, 18 Jan 2014 09:43:46 GMT Received: from romulus.metastack.com (cpc1-cmbg5-0-0-cust241.5-4.cable.virginm.net [81.98.252.242]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s0I9hkrv090325 for ; Sat, 18 Jan 2014 09:43:46 GMT Received: from remus.metastack.local (remus.metastack.com [172.16.0.1]) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id s0I9hjRE021963 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sat, 18 Jan 2014 09:43:45 GMT Received: from Remus.metastack.local ([fe80::547c:3c42:e1da:eda2]) by Remus.metastack.local ([fe80::547c:3c42:e1da:eda2%10]) with mapi id 14.03.0174.001; Sat, 18 Jan 2014 09:43:45 +0000 From: David Allsopp To: OCaML List Mailing Thread-Topic: [Caml-list] ocaml considered dangerous Thread-Index: AQHPEw/9fywvLBUW2kyKf5SGv8sAlpqINGQAgAFw9ACAABzjAIAATsYAgAAh/xCAAAZAgIAAAjZw Date: Sat, 18 Jan 2014 09:43:44 +0000 Message-ID: References: <2112632769.281907.1389913202532.open-xchange@communicator.strato.de> <0290505B-A21A-4A05-A1C9-4C5F765DFEB5@math.nagoya-u.ac.jp> <02b301cf13e5$bdd11af0$397350d0$@ffconsultancy.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.0.18] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 172.16.0.20 X-Server-Quench: 06884deb-8025-11e3-94fa-002590a135d3 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd1ZAARAlZZVg1f DC4bFwdFRBksPQFF ChxFJgxfNlEAUAAU NkdBMnJSNkcdTBdX QSgKU0suAQNuW2N0 bxpRZA9ZYUBKWUti UVZASkxQEQd2AxgD GRwbTRk8NAU/cSYr JwBiV3BYXkE0d0B8 QgBUE2UOYTM1On0X UEJdagJVJQBXdxsT O01/VHEIaGVWZ3ll E1QlBR1jdQZ0ISFR BwUMNk4nCUEAFzs4 DxsFGy4uEUAfSil7 IxUgJVMGG1sKWgAA X-Authentic-SMTP: 61633634383431.1024:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 81.98.252.242/25 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. Subject: RE: [Caml-list] ocaml considered dangerous Gabriel Scherer wrote: > David Allsopp wrote: > > Does this new version fix positional specifiers? > No, it does not. It makes the printf codebase easier to work with (if you > know your GADTs), Shame - it's an absence I find regularly irritating! Printf.printf "long-perfectly-readable-multi-line-format-string" id id id = id date id id date date id :o) > but lately the tendency has rather been to hope for *less* complex stuff = in formats, rather than more. Well, for me, the hope was that things that were supposed to have been ther= e (in the docs) might be fixed! The comments closing PRs 3992, 4204, 4290 a= nd 4321 all suggested that a rewrite would hope reintroduce positional spec= ifiers. From the printf perspective, I thought the objective was to match a= ll the implementable parts of ISO C's printf (i.e. skipping only the things= which are not type-safe). David=20