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 6D3E37F9BB for ; Wed, 2 Jul 2014 15:35:59 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gabriel.scherer@gmail.com) identity=pra; client-ip=209.85.128.173; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of gabriel.scherer@gmail.com designates 209.85.128.173 as permitted sender) identity=mailfrom; client-ip=209.85.128.173; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.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@mail-ve0-f173.google.com) identity=helo; client-ip=209.85.128.173; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="postmaster@mail-ve0-f173.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsABAJMKtFPRVYCtm2dsb2JhbABag19agiVJq0KXbgGBBAgWDwEBAQEBBgsLCRQohAMBAQEEDAYRHQEbEgsBAwwGAwILDQICCR0CAiIBEQEFAQoSBhMSEIgLAQMRDY40kBZqiyeBcoMQj08KGScDCmSFJREBBQ6BHo1DMweCd4FMBYRoBZYAgUiQUBgphHU7 X-IPAS-Result: AsABAJMKtFPRVYCtm2dsb2JhbABag19agiVJq0KXbgGBBAgWDwEBAQEBBgsLCRQohAMBAQEEDAYRHQEbEgsBAwwGAwILDQICCR0CAiIBEQEFAQoSBhMSEIgLAQMRDY40kBZqiyeBcoMQj08KGScDCmSFJREBBQ6BHo1DMweCd4FMBYRoBZYAgUiQUBgphHU7 X-IronPort-AV: E=Sophos;i="5.01,588,1400018400"; d="scan'208";a="69891972" Received: from mail-ve0-f173.google.com ([209.85.128.173]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 02 Jul 2014 15:35:31 +0200 Received: by mail-ve0-f173.google.com with SMTP id db11so11230306veb.32 for ; Wed, 02 Jul 2014 06:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=M8e/b9l136XWEwkKHSXjtvc42JxEJNIlbfekNQrL8c0=; b=By1/gVckzv9wyyi/JY1lxGyLdcXWaTnlYudI4Ttx5ItLYpr6udedHDj3FzDD9wky0n 6Jur/D2pWO+daIGGeKZoB7KVbkkPfOTiGLH3r1XQISN+TnNV16CQFNKFLfcgsnvn6VjJ R89F1FoimsH69z55HnP6F0PPHgWPf67qxzUnML6kAi4thy/DKe9Gz2pp0RDxGsEQtTaG JdpkbztRIEcCy6GZvEdcc0gsjSwXgWbbWP0fVXa9fE+SoCqCG+2gppyXX1mOVr7eQE1A VjiJdAEyjYgbaPC6ZyGavAmJzejlaebHFcLlynUf7Xu9wupi5yV328mIT3m9NV3s+gXe oKpQ== X-Received: by 10.220.15.8 with SMTP id i8mr352751vca.45.1404308130827; Wed, 02 Jul 2014 06:35:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.178.230 with HTTP; Wed, 2 Jul 2014 06:34:50 -0700 (PDT) In-Reply-To: <20140702092706.GB4470@kerneis.info> References: <20140701095955.GE4120@kerneis.info> <53B2DC94.6050809@frisch.fr> <20140702092706.GB4470@kerneis.info> From: Gabriel Scherer Date: Wed, 2 Jul 2014 15:34:50 +0200 Message-ID: To: Gabriel Kerneis Cc: Alain Frisch , Jeremie Dimino , "caml-list@inria.fr" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] Extending Format strings > (I'm a little nervous when it comes to using internal compiler libs) As you should be: there is no guarantee of forward-compatibility of the format GADTs -- in fact there is a strong confidence of *non*-compatibility with 4.03. On Wed, Jul 2, 2014 at 11:27 AM, Gabriel Kerneis wro= te: > Alain, J=C3=A9r=C3=A9mie, > > On Tue, Jul 01, 2014 at 06:06:44PM +0200, Alain Frisch wrote: >> We had a very similar issue with some internal LexiFi library, also >> using @-markers, and returning some structured document. Jeremie's >> suggestion works very well. > > Many thanks for your insights. I'll probably not update CIL code in the > short term, for backwards-compatibility reasons (I'm a little nervous > when it comes to using internal compiler libs), but it's nice to see it > can be done more cleanly than the current implementation. > > Best, > -- > Gabriel > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs