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 IAA28080; Thu, 2 May 2002 08:55:34 +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 IAA28076 for ; Thu, 2 May 2002 08:55:33 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g426tWD05191 for ; Thu, 2 May 2002 08:55:33 +0200 (MET DST) Received: (from fpottier@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA28072 for caml-list@inria.fr; Thu, 2 May 2002 08:55:32 +0200 (MET DST) Date: Thu, 2 May 2002 08:55:32 +0200 From: Francois Pottier To: caml-list@inria.fr Subject: Re: [Caml-list] printf and scanf Message-ID: <20020502085532.B27687@pauillac.inria.fr> Reply-To: Francois.Pottier@inria.fr References: <20020430135147.GA29653@hell.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <20020430135147.GA29653@hell.mine.nu>; from fare@tunes.org on Tue, Apr 30, 2002 at 03:51:47PM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 languages). -- François Pottier Francois.Pottier@inria.fr http://pauillac.inria.fr/~fpottier/ ------------------- 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