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 WAA15033; Thu, 20 Feb 2003 22:12:43 +0100 (MET) 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 WAA15285 for ; Thu, 20 Feb 2003 22:12:42 +0100 (MET) Received: from marble.he.net (marble.he.net [216.218.230.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h1KLCeT28287 for ; Thu, 20 Feb 2003 22:12:41 +0100 (MET) Received: from ucdavis.edu ([208.227.214.58] (may be forged)) by marble.he.net (8.8.6/8.8.2) with ESMTP id NAA28213 for ; Thu, 20 Feb 2003 13:12:37 -0800 Message-ID: <3E55461E.90000@ucdavis.edu> Date: Thu, 20 Feb 2003 13:18:22 -0800 From: Issac Trotts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1 MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] mutually dependent modules References: <3E515C22.9080101@ucdavis.edu> <87k7fw6g45.fsf@cs.uga.edu> <3E5313B9.5040906@ucdavis.edu> <20030220.201920.109099820.debian00@tiscali.be> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Christophe TROESTLER wrote: >On Tue, 18 Feb 2003, Issac Trotts wrote: > > >>I've seen both, but I now avoid the "let _ = " expression because if >>you leave it out then ocamlc gives a warning when you don't supply >>all the arguments to a function. The warning is good to have. >> >> > >Use > let () = ... > I only know of one place where that would be needed: class foo () = let () = frobnicate() in object ... end since class foo () = frobnicate(); object ... end doesn't work. Otherwise, what's the point? Issac ------------------- 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