caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois-Rene Rideau <fare@tunes.org>
To: caml-list@inria.fr
Subject: [Caml-list] printf and scanf
Date: Tue, 30 Apr 2002 15:51:47 +0200	[thread overview]
Message-ID: <20020430135147.GA29653@hell.mine.nu> (raw)

On Tue, 30 Apr 2002 12:22:49 +0000 (UTC), frappo wrote:
> Unfortunately, Danvy's encoding relies on the fact that
> the format specification is *not* a string.
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.
Runtime processing of format string is more problematic,
but who needs that, anyway? Instead of concatenating format strings,
you'd directly use Danvy-style combinators.

Just my 2.e-7 kg of gold worth.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
[  TUNES project for a Free Reflective Computing System  | http://tunes.org  ]
Mathematicians are like Frenchmen: whatever you say to them they
translate into their own language, and forthwith it is something
entirely different.
		-- Johann Wolfgang von Goethe
-------------------
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


             reply	other threads:[~2002-05-01 15:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-30 13:51 Francois-Rene Rideau [this message]
2002-05-01 16:06 ` Jérôme Marant
2002-05-02  6:55 ` Francois Pottier
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=20020430135147.GA29653@hell.mine.nu \
    --to=fare@tunes.org \
    --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).