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 RAA06004; Fri, 27 Feb 2004 17:11:53 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA05659 for ; Fri, 27 Feb 2004 17:11:52 +0100 (MET) Received: from pop19.ucdavis.edu (pop19.ucdavis.edu [169.237.105.29]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i1RGBtIq032217 for ; Fri, 27 Feb 2004 17:11:56 +0100 Received: from manzanita ([128.120.141.214]) by pop19.ucdavis.edu (8.12.10/8.12.9/it-std-5.2.0) with SMTP id i1RGBm4U015642 for ; Fri, 27 Feb 2004 08:11:48 -0800 (PST) Received: by manzanita (sSMTP sendmail emulation); Fri, 27 Feb 2004 08:11:33 -0800 From: "Issac Trotts" Date: Fri, 27 Feb 2004 08:11:33 -0800 To: caml-list@inria.fr Subject: Re: [Caml-list] Can I print like the toplevel? Message-ID: <20040227161115.GA1006@manzanita> Mail-Followup-To: ijtrotts@ucdavis.edu, caml-list@inria.fr References: <3513E352-6933-11D8-9F7A-000393914EAA@atcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3513E352-6933-11D8-9F7A-000393914EAA@atcorp.com> User-Agent: Mutt/1.5.4i X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; issac:01 trotts:01 ijtrotts:01 caml-list:01 2004:99 0600,:01 howdy:01 bug:01 ocamldebug:01 issac:01 trotts:01 redwood:99 ocaml:01 toplevel:01 ucdavis:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Feb 27, 2004 at 08:42:46AM -0600, Eric Dahlman wrote: > Howdy, > > In tracking down a little bug yesterday it would have been really nice > if I could have printed out a value like the top level prints out the > value returned. Basically I want the "Print" function from the classic > read-eval-print loop. Is such a function available and would I access > it? I have done a bit of searching through the ocaml documentation and > found things related to printing and pretty printing but nothing which > really looked like it would work for this purpose. Have you tried ocamldebug? -- Issac Trotts http://redwood.ucdavis.edu/~issac ------------------- 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