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 2C8CC7EFCD for ; Tue, 28 Oct 2014 10:43:03 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of adrien@notk.org) identity=pra; client-ip=91.121.71.147; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of adrien@notk.org designates 91.121.71.147 as permitted sender) identity=mailfrom; client-ip=91.121.71.147; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@nautica.notk.org) identity=helo; client-ip=91.121.71.147; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="postmaster@nautica.notk.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AggFAFBkT1RbeUeT/2dsb2JhbABcgw6EMtJxCgKBGxYBfYQDAQEEIw8BRhALGAICBRMOAgIPBRgxiFi2B5UnAQEBBwEBAQEBHYEsj1wHgnc2gR4FnWABli6DeTyCegEBAQ X-IPAS-Result: AggFAFBkT1RbeUeT/2dsb2JhbABcgw6EMtJxCgKBGxYBfYQDAQEEIw8BRhALGAICBRMOAgIPBRgxiFi2B5UnAQEBBwEBAQEBHYEsj1wHgnc2gR4FnWABli6DeTyCegEBAQ X-IronPort-AV: E=Sophos;i="5.04,801,1406584800"; d="scan'208";a="103319359" Received: from nautica.notk.org ([91.121.71.147]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 28 Oct 2014 10:43:02 +0100 Received: by nautica.notk.org (Postfix, from userid 1003) id BA6DCC009; Tue, 28 Oct 2014 10:43:01 +0100 (CET) Date: Tue, 28 Oct 2014 10:43:01 +0100 From: Adrien Nader To: Francois Berenger Cc: OCaml List Message-ID: <20141028094301.GA4036@notk.org> References: <544F618D.10504@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <544F618D.10504@inria.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] Is it possible to define a Printf.sprintf-like that is lazy? Hi On Tue, Oct 28, 2014, Francois Berenger wrote: > Hello, > > I mean, the parameters are not formated unless the function is forced. Have you looked at Printf.kfprintf and ikprintf (which is >= 4.00 iirc) ? -- Adrien Nader