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 FAA21836; Wed, 19 Feb 2003 05:37:04 +0100 (MET) 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 FAA21757 for ; Wed, 19 Feb 2003 05:37:02 +0100 (MET) Received: from ajax.cs.uga.edu (ajax.cs.uga.edu [128.192.251.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h1J4b1P28342 for ; Wed, 19 Feb 2003 05:37:01 +0100 (MET) Received: from cs.uga.edu (ajax [128.192.251.3]) by ajax.cs.uga.edu (8.9.3/8.9.3) with ESMTP id XAA29401; Tue, 18 Feb 2003 23:36:56 -0500 (EST) From: cashin@cs.uga.edu To: Issac Trotts Cc: OCaml List Subject: Re: [Caml-list] mutually dependent modules References: <4.3.2.7.2.20030217102751.0309cb70@localhost> <3E515C22.9080101@ucdavis.edu> Date: Tue, 18 Feb 2003 23:36:58 -0500 Message-ID: <87k7fw6g45.fsf@cs.uga.edu> User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Issac Trotts writes: ... > let _ = A.f2 := B.f2 I've seen this before, but why is it preferable to this? A.f2 := B.f2 There's an article on comp.lang.ml where Xavier Leroy mentions this syntax as a way to get module initialization code to run ... but I get the impression that folks are using it when it's semantically equivalent to the same thing with the "let _ = " omitted entirely. -- --Ed L Cashin | PGP public key: ecashin@uga.edu | http://noserose.net/e/pgp/ ------------------- 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