Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] How to read three integers from a text-file... ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jérôme_Marant <jerome.marant@f...>
Subject: Re: [Caml-list] How to read three integers from a text-file... ?
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 implementation,
> > "printf" is a keyword always followed by a string. Camlp4 analyses the
> > string and generates calls to print_string, print_int, and so on. The
> > result is normally typed by OCaml.
> 
> 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.

-- 
Jérôme 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