From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA11175; Thu, 25 Apr 2002 13:34:05 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA11152 for ; Thu, 25 Apr 2002 13:34:04 +0200 (MET DST) Received: from gwsmtp.thomson-csf.com (gwsmtp.thomson-csf.com [195.101.39.226]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3PBY3T28340; Thu, 25 Apr 2002 13:34:03 +0200 (MET DST) Received: from thomplex.thomson-csf.com (200.3.2.2) by gwsmtp.thomson-csf.com (NPlex 5.1.053) id 3CC6487B0003BDF9; Thu, 25 Apr 2002 13:36:43 +0200 Received: from thomplex.thomson-csf.com (200.3.2.2) by thomplex.thomson-csf.com (NPlex 5.1.036) id 3CC681800002F597; Thu, 25 Apr 2002 13:36:25 +0200 Received: from bgxplex3.bgx.airsys.thomson-csf.com (1.38.9.153) by bgxplex.bgx.airsys.thomson-csf.com (NPlex 5.1.053) id 3CAC2CE10003BE22; Thu, 25 Apr 2002 13:34:01 +0200 Received: from bgxplex3.bgx.airsys.thomson-csf.com (1.38.9.153) by bgxplex3.bgx.airsys.thomson-csf.com (NPlex 5.1.053) id 3CC5815500004A27; Thu, 25 Apr 2002 13:34:00 +0200 Received: from 187.150.3.12 by bgxplex3.bgx.airsys.thomson-csf.com (InterScan E-Mail VirusWall NT); Thu, 25 Apr 2002 13:33:59 +0200 Received: from af_mara by lully.bgx.airsys.thomson-csf.com with local (Exim 3.22 #1 (Red Hat Linux)) id 170hVQ-00087s-00; Thu, 25 Apr 2002 13:33:44 +0200 Date: Thu, 25 Apr 2002 13:33:44 +0200 From: =?iso-8859-1?Q?J=E9r=F4me_Marant?= To: caml-list@inria.fr Cc: Daniel de Rauglaudre Subject: Re: [Caml-list] How to read three integers from a text-file... ? Message-ID: <20020425133343.A31232@fr.thalesgroup.com> Mail-Followup-To: caml-list@inria.fr, Daniel de Rauglaudre References: <15557.14957.358556.545541@absurd.mimuw.edu.pl> <20020424212316.GA26318@cs.net.pl> <20020425105559.C392@verdot.inria.fr> <20020425111905.GA31096@kiefer.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020425111905.GA31096@kiefer.ai.univie.ac.at>; from markus@oefai.at on Thu, Apr 25, 2002 at 01:19:05PM +0200 Content-Transfer-Encoding: Quoted-Printable Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Apr 25, 2002 at 01:19:05PM +0200, Markus Mottl wrote: > On Thu, 25 Apr 2002, Daniel de Rauglaudre wrote: > > BTW, it is perfectly possible to write printf as a Camlp4 syntax > > extension not using the special type "format". In such an implementat= ion, > > "printf" is a keyword always followed by a string. Camlp4 analyses th= e > > string and generates calls to print_string, print_int, and so on. The > > result is normally typed by OCaml. >=20 > These are interesting proposals! I am sure that others would appreciate > this very much, too... Well, this would make a static printf rather that the well known printf from C, since the format string may be known only at runtime in some cases. --=20 J=E9r=F4me Marant ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners