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 0791C7F860 for ; Fri, 7 Mar 2014 08:20:30 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of raphlalou@gmail.com) identity=pra; client-ip=209.85.216.177; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="raphlalou@gmail.com"; x-sender="raphlalou@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of raphlalou@gmail.com designates 209.85.216.177 as permitted sender) identity=mailfrom; client-ip=209.85.216.177; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="raphlalou@gmail.com"; x-sender="raphlalou@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-qc0-f177.google.com) identity=helo; client-ip=209.85.216.177; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="raphlalou@gmail.com"; x-sender="postmaster@mail-qc0-f177.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlUCAOJyGVPRVdixlGdsb2JhbABaFoMrV4MGq0SSYIEJCBYOAQEBAQcLCwkSKoIlAQEBBCMdARsdAQMMBgULDQICJgICIgERAQUBHAYTh2QBAxENohiMDlGDDpVzChknDWSGDxEBBQyBHYx/MweCb4FJBJhBgTKPCxgphFo8 X-IPAS-Result: AlUCAOJyGVPRVdixlGdsb2JhbABaFoMrV4MGq0SSYIEJCBYOAQEBAQcLCwkSKoIlAQEBBCMdARsdAQMMBgULDQICJgICIgERAQUBHAYTh2QBAxENohiMDlGDDpVzChknDWSGDxEBBQyBHYx/MweCb4FJBJhBgTKPCxgphFo8 X-IronPort-AV: E=Sophos;i="4.97,606,1389740400"; d="scan'208";a="51625654" Received: from mail-qc0-f177.google.com ([209.85.216.177]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 07 Mar 2014 08:20:29 +0100 Received: by mail-qc0-f177.google.com with SMTP id w7so4174943qcr.36 for ; Thu, 06 Mar 2014 23:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=8ICmkM51AJIfgCHl4HGM100Agfrl9ti70QJVgfuPhS4=; b=LoANqDlpPIxbd/T56ac/CdPXz3ygzFZoV99FOFGFdFeVARLy+aRAjY30MBnkvKbJEb c7W2fJlGlelnDhJ4+dxfQYT04OdIRHqm/7AnEgURZih1W6YPzlSeaX2VB4tdYLnbDfpj WOFpA29fZTLlPl4koqAWnbmPIk8Y6aoeGisHtTQ2XFXTIvela6nIvcjgs5XXajXxEJs7 E8wMs/cL0zMuhQNr/7Ynp9bEDU/pUPgvT6ZJ9nUULVEFSBA3P6VaeTbX0BbAZ07sZjfC V4JECmVkV6sOHi6cl19uklqRvOcs3g3kES9gditVISqE92FcGEan245CsOEG/1U3pXst 48hA== MIME-Version: 1.0 X-Received: by 10.140.102.215 with SMTP id w81mr70808qge.109.1394176827835; Thu, 06 Mar 2014 23:20:27 -0800 (PST) Received: by 10.96.149.168 with HTTP; Thu, 6 Mar 2014 23:20:27 -0800 (PST) In-Reply-To: <5318C7A8.2060200@ens-lyon.org> References: <5318A3A8.8050402@gmail.com> <5318AA21.3070009@gmail.com> <5318ABD2.208@gmail.com> <5318C7A8.2060200@ens-lyon.org> Date: Fri, 7 Mar 2014 07:20:27 +0000 Message-ID: From: =?UTF-8?Q?Rapha=C3=ABl_Proust?= To: Martin Jambon Cc: Matthieu Dubuget , caml-list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] I never succeeded in using Format On Thu, Mar 6, 2014 at 7:08 PM, Martin Jambon wrote: > Note that I made a library called easy-format that supposedly makes it > easier to pretty-print code exactly the way you want: > > project page: > http://mjambon.com/easy-format.html > > sample code + output: > http://mjambon.com/easy_format_example.html Another alternative to format for pretty-printing code (or other things): P= Print Release blog post (with some examples of use): http://gallium.inria.fr/blog/first-release-of-pprint/ Documentation: http://gallium.inria.fr/~fpottier/pprint/doc/PPrint.html Installation instruction: `opam install pprint` Cheers, --=20 ______________ Rapha=C3=ABl Proust