From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA29958; Thu, 3 Jul 2003 18:38:11 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA30023 for ; Thu, 3 Jul 2003 18:38:08 +0200 (MET DST) Received: from mwinf0304.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.28]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h63Gc7f10701 for ; Thu, 3 Jul 2003 18:38:07 +0200 (MET DST) Received: from ptit-gallu.home.net (AVelizy-112-1-5-23.w81-48.abo.wanadoo.fr [81.48.248.23]) by mwinf0304.wanadoo.fr (SMTP Server) with ESMTP id 23358A804109 for ; Thu, 3 Jul 2003 18:38:07 +0200 (CEST) Received: from gallu.home.net ([192.168.0.12] helo=gallu) by ptit-gallu.home.net with smtp (Exim 3.35 #1 (Debian)) id 19Y75u-0004w6-00 for ; Thu, 03 Jul 2003 18:38:02 +0200 Received: by gallu (sSMTP sendmail emulation); Thu, 3 Jul 2003 18:38:05 +0200 From: "Sylvain LE GALL" Date: Thu, 3 Jul 2003 18:38:05 +0200 To: caml-list@inria.fr Subject: [Caml-list] Printf and format Message-ID: <20030703163804.GA1207@gallu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Spam: no; 0.00; gall:01 le-gall:01 printf:01 transform:02 silly:02 unit:03 forbid:03 string:03 sylvain:04 seems:05 channel:06 fun:08 function:09 scan:09 something:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, I am sorry to ask a so silly question, but i need it for my personnal work, and i could not find it in the archive. Is there a way to transform string to ( 'a, out_channel, unit, unit) format. I need this function to use it with something like : Printf.printf (my_fun "X, Y") "coucou";; I look at the code and see a function scan_format, but it seems to be forbid to use it. Any idea ? Thanks Sylvain LE GALL ------------------- 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