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 VAA24920; Thu, 12 Sep 2002 21:45:04 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA24902 for caml-list@pauillac.inria.fr; Thu, 12 Sep 2002 21:45:03 +0200 (MET DST) 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 RAA19406 for ; Thu, 12 Sep 2002 17:28:48 +0200 (MET DST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8CFSl122138 for ; Thu, 12 Sep 2002 17:28:47 +0200 (MET DST) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17pVtT-0002DP-00 for ; Thu, 12 Sep 2002 17:28:35 +0200 To: caml-list@inria.fr X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 17pVtS-0002DF-00 for ; Thu, 12 Sep 2002 17:28:34 +0200 Path: not-for-mail From: "=?iso-8859-1?q?Micha=EBl_Gr=FCnewald?=" Subject: [Caml-list] Re: Does this function exist? Date: 12 Sep 2002 17:31:10 +0200 Organization: (none) Message-ID: <87znunjkch.fsf@ketanu.dyndns.org> References: NNTP-Posting-Host: amontpellier-203-1-2-208.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1031844514 5075 80.14.10.208 (12 Sep 2002 15:28:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 15:28:34 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Lukasz Lew writes: > Hello > Is there in OCaml a function ['a -> ()] which would print striong > representation of first arument on stdout, just like OcamlTop does? > > print [3; 3];; > > should print: > "- : int list = [3; 3]" > > It would be very usefull for debugging. > Lukasz Lew [...] The function `Toplevel.print_value ' should deserve such an intention, but help will come from the implementors. -- Michaël Grünewald - RSA PGP Key ID: 0x20D90C12 ------------------- 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