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 RAA16894; Wed, 26 Jun 2002 17:02:44 +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 RAA16947 for ; Wed, 26 Jun 2002 17:02:43 +0200 (MET DST) Received: from mel-rto3.wanadoo.fr (smtp-out-3.wanadoo.fr [193.252.19.233]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g5QF2gn09094 for ; Wed, 26 Jun 2002 17:02:42 +0200 (MET DST) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto3.wanadoo.fr (6.5.007) id 3D1848E6000F624D for caml-list@inria.fr; Wed, 26 Jun 2002 17:02:42 +0200 Received: from warp (217.128.142.232) by mel-rta8.wanadoo.fr (6.5.007) id 3D11E54E0031F107 for caml-list@inria.fr; Wed, 26 Jun 2002 17:02:42 +0200 Message-ID: <000f01c21d22$5f6a97f0$a500a8c0@warp> From: "Nicolas Cannasse" To: "OCaml" Subject: [Caml-list] printf hook Date: Wed, 26 Jun 2002 17:01:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi list ! I would like do to something like this : let sprint msg = print_endline ("BEGIN: "^(sprintf msg)) without of course loosing the ability of having variable number of parameters in my "msg". Is that kind of thing possible ? Thanks a Lot Nicolas Cannasse ------------------- 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