Re: Warnings in ocaml

From: Xavier Leroy (Xavier.Leroy@inria.fr)
Date: Mon Feb 22 1999 - 13:36:55 MET


Date: Mon, 22 Feb 1999 13:36:55 +0100
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: "Frank A. Christoph" <christo@nextsolution.co.jp>, caml-list@inria.fr
Subject: Re: Warnings in ocaml
In-Reply-To: <007a01be5e49$8825ba30$6f50ebca@newton>; from Frank A. Christoph on Mon, Feb 22, 1999 at 06:55:50PM +0900

> 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



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:20 MET