From: "Alain Frisch" <alfie2@ga.mygale.org>
To: caml-list@inria.fr
Subject: Implémentation de printf
Date: Thu, 6 Aug 1998 10:32:45 +0000 [thread overview]
Message-ID: <199808060831.KAA01652@wanadoo.fr> (raw)
Bonjour à tous,
je cherche à créer une fonction du genre :
let affiche format arg = mon_affichage (sprintf format arg);;
mais qui accepte des formats avec plusieurs paramètres. Est-ce
possible (j'utilise Caml Light 0.7).
D'autre part, en consultant le code source de printf (version 0.6),
il me vient quelques questions : que sont les fonctions magic,
is_block, repr, obj_tag ?
Est-il possible de créer soi même une fonction du style printf
(ie: nombre et type d'arguments variable suivant la valeur d'un
paramètre) ?
Merci.
Alain FRISCH
alfie2@mygale.org
yala.frisch@wanadoo.fr
http://www.mygale.org/05/alfie2/
ICQ#:16299088
next reply other threads:[~1998-08-12 20:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-06 10:32 Alain Frisch [this message]
1998-08-19 15:54 ` Xavier Leroy
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=199808060831.KAA01652@wanadoo.fr \
--to=alfie2@ga.mygale.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