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 HAA14045; Wed, 11 Sep 2002 07:10:30 +0200 (MET DST) 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 HAA13925 for ; Wed, 11 Sep 2002 07:10:29 +0200 (MET DST) Received: from imo-r05.mx.aol.com (imo-r05.mx.aol.com [152.163.225.101]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g8B5AS923950 for ; Wed, 11 Sep 2002 07:10:28 +0200 (MET DST) Received: from artboreb@netscape.net by imo-r05.mx.aol.com (mail_out_v34.10.) id p.1b6.1b8ae22 (16225); Wed, 11 Sep 2002 01:09:52 -0400 (EDT) Received: from netscape.net (mow-d08.webmail.aol.com [205.188.138.72]) by air-in02.mx.aol.com (v88.20) with ESMTP id MAILININ21-0911010951; Wed, 11 Sep 2002 01:09:51 -0400 Date: Wed, 11 Sep 2002 01:05:46 -0400 From: artboreb@netscape.net (Arturo Borquez) To: checker@d6.com (Chris Hecker) Cc: caml-list@inria.fr Subject: RE: [Caml-list] eval order and 'and' Message-ID: <57C8A9DF.126A17DD.00958B05@netscape.net> X-Mailer: Atlas Mailer 2.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Chris Hecker wrote: > >Does "let a and b in" guarantee a is evaluated before b, like "let a in let >b in" does? > Sorry but I don't understand the purpose of your question. If a and b are functions with 'related side effects' the secure way should be the later ('let a in let b ..'), otherwise the order of evaluation in the first case is irrelevant as a and b are two unrelated functions (with no side effects), or 'let a and b in ..' is the same as 'let b and a in ..' Regards. -- Arturo Borquez __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ ------------------- 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