English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] printable digest strings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-05-04 (09:15)
From: Hendrik Tews <tews@t...>
Subject: Re: [Caml-list] printable digest strings

Miles Egan writes:
   From: Miles Egan <miles@caddr.com>
   Date: Thu, 3 May 2001 15:32:34 -0700
   Subject: [Caml-list] printable digest strings
   I can't seem to find a function to create printable versions
   of the digest strings generated by the digest module, like the
   output of the common unix md5sum utility. Am I missing
   something or does it not exist? 

What about String.escaped?

>From the string module docs:

val escaped: string -> string

     Return a copy of the argument, with special characters
     represented by escape sequences, following the lexical
     conventions of Objective Caml.


To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr