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] 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 Archives:
Bug reports: FAQ:
Beginner's list: