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 PAA28860; Tue, 18 Nov 2003 15:31:08 +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 PAA28914 for ; Tue, 18 Nov 2003 15:31:07 +0100 (MET) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAIEV6116982 for ; Tue, 18 Nov 2003 15:31:06 +0100 (MET) Received: from ntlworld.com ([80.4.69.207]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20031118143105.UZDH25299.mta03-svc.ntlworld.com@ntlworld.com> for ; Tue, 18 Nov 2003 14:31:05 +0000 Message-ID: <3FBA2E6C.6060701@ntlworld.com> Date: Tue, 18 Nov 2003 14:36:28 +0000 From: "chris.danx" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Records: syntax error... References: <3FB9668D.3060709@ntlworld.com> <3FB96A91.8000108@cs.caltech.edu> In-Reply-To: <3FB96A91.8000108@cs.caltech.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ntlworld:99 caml-list:01 thankyou:99 chris:01 chris:01 imho:01 syntax:02 match:02 differs:03 wrote:03 slightly:03 intuitive:04 boolean:04 hint:04 hint:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Aleksey Nogin wrote: > Hint: you do not have to mention the fiends that you are not interested in. > Hint: if you want to create a new record that only slightly differs from > an existing one, use the "with" construction: > Hint: it is IMHO a bad style to use "match" expressions simply to check > on a boolean value - it's much more intuitive to use "if/then/else" for > that. Thankyou! This is very helpful. ------------------- 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