From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA04864 for caml-redistribution; Mon, 22 Feb 1999 14:13:50 +0100 (MET) 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 NAA21142 for ; Mon, 22 Feb 1999 13:37:28 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id NAA14572; Mon, 22 Feb 1999 13:36:55 +0100 (MET) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA29252; Mon, 22 Feb 1999 13:36:55 +0100 (MET) Message-ID: <19990222133655.46186@pauillac.inria.fr> Date: Mon, 22 Feb 1999 13:36:55 +0100 From: Xavier Leroy To: "Frank A. Christoph" , caml-list@inria.fr Subject: Re: Warnings in ocaml References: <007a01be5e49$8825ba30$6f50ebca@newton> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 In-Reply-To: <007a01be5e49$8825ba30$6f50ebca@newton>; from Frank A. Christoph on Mon, Feb 22, 1999 at 06:55:50PM +0900 Sender: weis > I copied from SML and defined a procedure "ignore": > so now I would write: > ignore (f x y); ... I was considering adding this to the standard library, implemented in such a way that no function call actually takes place. It seems to strike a reasonable balance between the safety of the warning and the inconvenience of writing "let _ = ..." - Xavier Leroy