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 NAA27350; Sat, 7 Sep 2002 13:57:32 +0200 (MET DST) 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 NAA27529 for ; Sat, 7 Sep 2002 13:57:31 +0200 (MET DST) Received: from students.mimuw.edu.pl (zodiac.mimuw.edu.pl [193.0.96.128]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g87BvU915560 for ; Sat, 7 Sep 2002 13:57:30 +0200 (MET DST) Received: by students.mimuw.edu.pl (Postfix, from userid 2738) id D0E1A179C3; Sat, 7 Sep 2002 13:49:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by students.mimuw.edu.pl (Postfix) with ESMTP id CC2123F6A for ; Sat, 7 Sep 2002 13:49:15 +0200 (CEST) Date: Sat, 7 Sep 2002 13:49:15 +0200 (CEST) From: Lukasz Lew X-X-Sender: ll189417@zodiac.mimuw.edu.pl To: caml-list@inria.fr Subject: [Caml-list] Usefull function Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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