Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* 'a -> string ?
@ 1997-10-16 10:19 GillesDfnx
  1997-10-16 21:32 ` wakita
  1997-10-17  8:59 ` Xavier Leroy
  0 siblings, 2 replies; 3+ messages in thread
From: GillesDfnx @ 1997-10-16 10:19 UTC (permalink / raw)
  To: caml-list


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







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-10-17 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-16 10:19 'a -> string ? GillesDfnx
1997-10-16 21:32 ` wakita
1997-10-17  8:59 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox