caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Pottier <francois.pottier@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] printf and scanf
Date: Thu, 2 May 2002 08:55:32 +0200	[thread overview]
Message-ID: <20020502085532.B27687@pauillac.inria.fr> (raw)
In-Reply-To: <20020430135147.GA29653@hell.mine.nu>; from fare@tunes.org on Tue, Apr 30, 2002 at 03:51:47PM +0200


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


  parent reply	other threads:[~2002-05-02  6:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30 13:51 Francois-Rene Rideau
2002-05-01 16:06 ` Jérôme Marant
2002-05-02  6:55 ` Francois Pottier [this message]
2002-05-01 18:00 Francois-Rene Rideau
2002-05-02  8:25 ` Jérôme Marant
2002-05-02 16:11   ` Pixel
2002-05-02 17:50     ` Jérôme Marant
2002-05-02 17:09   ` John Prevost
2002-05-02 17:52     ` Jérôme Marant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020502085532.B27687@pauillac.inria.fr \
    --to=francois.pottier@inria.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).