From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 42FB6BB9B for ; Tue, 4 Oct 2005 22:21:46 +0200 (CEST) Received: from pih-relay05.plus.net (pih-relay05.plus.net [212.159.14.132]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j94KLjjR026260 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 4 Oct 2005 22:21:45 +0200 Received: from [80.229.56.224] (helo=chetara) by pih-relay05.plus.net with esmtp (Exim) id 1EMtIC-00056n-M8 for caml-list@yquem.inria.fr; Tue, 04 Oct 2005 21:21:40 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: [Caml-list] Avoiding shared data Date: Tue, 4 Oct 2005 19:32:54 +0100 User-Agent: KMail/1.7.2 References: <20051004180606.78155.qmail@web26809.mail.ukl.yahoo.com> In-Reply-To: <20051004180606.78155.qmail@web26809.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510041932.54607.jon@ffconsultancy.com> X-Miltered: at concorde with ID 4342E459.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 avoiding:01 ocaml:01 frog:98 wrote:01 data:02 caml:02 objective:02 complex:04 shared:04 disagree:07 certainly:08 2005:91 difficult:12 solution:13 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Tuesday 04 October 2005 19:06, you wrote: > I do not disagree. The trouble on my side is that it > is very easy to get them and difficult not to get them > or get rid of them, once the programs get more > complex. Yes, misuse of Array.make is certainly a caveat. The easiest solution is to use Array.init instead. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists