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 SAA19235; Thu, 13 Sep 2001 18:39:36 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 SAA19475 for ; Thu, 13 Sep 2001 18:39:35 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f8DGdVP25039; Thu, 13 Sep 2001 18:39:31 +0200 (MET DST) Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA19290; Thu, 13 Sep 2001 18:39:31 +0200 (MET DST) From: Pierre Weis Message-Id: <200109131639.SAA19290@pauillac.inria.fr> Subject: Re: [Caml-list] Why warning? In-Reply-To: <00b901c13b53$4e3bc9b0$1e01a8c0@hama> from SooHyoung Oh at "Sep 12, 101 03:22:32 pm" To: shoh@duonix.com (SooHyoung Oh) Date: Thu, 13 Sep 2001 18:39:31 +0200 (MET DST) Cc: caml-list@inria.fr X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Why is this warning occurred? > Where can I get infomation about this? (ex: 'nnn' page on manual, articles > or books) > > # 1; 2;; > Warning: this expression should have type unit. > - : int = 2 > > --- SooHyoung Oh Have a look to the FAQ: http://pauillac.inria.fr/caml/FAQ/pgl-eng.html#avertissements paragraph entitled ``Sequence warnings''. Different ways of getting rid of the warning are discussed, including the most demanding one (and, to my knowledge, the best one): ``understand why (the warning) is emitted by the compiler''. Best regards, Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/ ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr