From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 95370BC69 for ; Wed, 11 Apr 2007 01:12:27 +0200 (CEST) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3ANCQUD025564 for ; Wed, 11 Apr 2007 01:12:27 +0200 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 95077216313; Tue, 10 Apr 2007 19:12:45 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 10 Apr 2007 19:12:27 -0400 X-Sasl-enc: E4a2sEtTpkL7tWKPhmCjnQVCFzGnn21ayaBiUp0B3ti+ 1176246747 Received: from munge.ljcrf.edu (burnham.ljcrf.edu [192.231.106.2]) by mail.messagingengine.com (Postfix) with ESMTP id AC24D15818; Tue, 10 Apr 2007 19:12:26 -0400 (EDT) Date: Tue, 10 Apr 2007 16:12:19 -0700 (PDT) From: Martin Jambon X-X-Sender: martin@localhost To: "Harrison, John R" Cc: Martin Jambon , OCaml , David Teller Subject: RE: [Caml-list] Read-only arrays ? In-Reply-To: <509223F0BF55E74FA1247D17207E7A0C014E5043@orsmsx419.amr.corp.intel.com> Message-ID: References: <509223F0BF55E74FA1247D17207E7A0C014E5043@orsmsx419.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at discorde with ID 461C19DA.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ens-lyon:01 read-only:01 arrays:01 read-only:01 arrays:01 ocaml's:01 mutable:01 cheers:01 2007,:98 wrote:01 workaround:01 caml-list:01 caml-list:01 strings:01 strings:01 On Tue, 10 Apr 2007, Harrison, John R wrote: > | This topic comes up from time to time... My take on this is that > read-only > | arrays or strings are not badly needed. > > Of course, this is a matter of opinion. In the end you didn't offer > a solution to the specific problem I had. I'll still need to adopt > an expensive and/or ugly workaround if I really want to protect myself > against OCaml's mutable strings. However, I accept that my application > is not typical. It seems to me that you don't have a problem, but you imagine you have one... which is much better than the other way around :-) http://caml.inria.fr/pub/ml-archives/caml-list/2006/05/f603bc5e2fec357d8a36d807664072e6.en.html Cheers, Martin -- Martin Jambon http://martin.jambon.free.fr