Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Does this function exist?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michaël_Grünewald <michael-grunewald@w...>
Subject: [Caml-list] Re: Does this function exist?
Lukasz Lew <ll189417@zodiac.mimuw.edu.pl> 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 <michael-grunewald@wanadoo.fr>  - 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