Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] How to read three integers from a text-file... ?
On Thu, 25 Apr 2002, Daniel de Rauglaudre wrote:
> I think that it should be possible to have a Camlp4 syntax extension
> to have the equivalent of the C function scanf. I can try to implement
> that, if people are interested.
> 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...

Markus Mottl

Markus Mottl                                   
Austrian Research Institute
for Artificial Intelligence        
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: