caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Usefull function
@ 2002-09-07 11:49 Lukasz Lew
  0 siblings, 0 replies; only message in thread
From: Lukasz Lew @ 2002-09-07 11:49 UTC (permalink / raw)
  To: caml-list

Hello 
Is there in OCaml a function 
'a -> () 
which would print 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

-------------------
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-07 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-07 11:49 [Caml-list] Usefull function Lukasz Lew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).