English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] printf and scanf
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-05-02 (06:55)
From: Francois Pottier <francois.pottier@i...>
Subject: Re: [Caml-list] printf and scanf

Fare wrote:

> Isn't camlp4 the obvious solution to this problem?
> Format strings could "just" be processed at compile-time
> by a camlp4 extension that produces a Danvy-style encoding
> out of the format string.

Sounds reasonable, except I would perhaps prefer to expose the
underlying combinators everywhere (rather than provide syntactic
sugar for the simple cases and require direct use of combinators
in more complex cases, leading to two apparently unrelated

François Pottier
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