From: GillesDfnx@mail.dotcom.fr
To: caml-list@inria.fr
Subject: 'a -> string ?
Date: Thu, 16 Oct 1997 12:19:19 +0200 (MET DST) [thread overview]
Message-ID: <199710161019.MAA04691@cosmos.imag.fr> (raw)
Bonjour,
je cherche une fonction similaire à
val output_value : out_channel -> 'a -> unit
mais qui écrirait la représentation de l'élément de type 'a dans une
'string' au lieu d'un 'out_channel' (pour pouvoir le sauver dans dbm
après). Je voudrais éviter de recourir à un fichier temporaire suivi
d'un appel à 'input'.
Quelqu'un s'est-il déjà penché sur le problème ?
Merci,
Gilles
--- english ---
Hello,
I'm looking for an equivalent of
val output_value : out_channel -> 'a -> unit
that would output the representation of the element of type 'a into a
'string' instead of and 'out_channel' (for subsequent inclusion into a
dbm database). I would like to avoid using a temp file followed by an
'input' call.
Has anybody already designed such a function ?
Thank you,
Gilles
--
\\///
#include <std.disclaimer> (O O)
--------------------------------------------oOo--(_)--oOo--------
Gilles DEFOURNEAUX \ /
Automated Deduction Team |
ATINF project - LEIBNIZ lab --|--
Grenoble, FRANCE 0 GillesDfnx@mail.dotcom.fr
next reply other threads:[~1997-10-16 16:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-16 10:19 GillesDfnx [this message]
1997-10-16 21:32 ` wakita
1997-10-17 8:59 ` 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=199710161019.MAA04691@cosmos.imag.fr \
--to=gillesdfnx@mail.dotcom.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