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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id ACB3FBC6B for ; Tue, 10 Apr 2007 23:57:37 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3ALvZgO031661 for ; Tue, 10 Apr 2007 23:57:37 +0200 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by mga03.intel.com with ESMTP; 10 Apr 2007 14:57:35 -0700 Received: from orsmsx335.jf.intel.com ([10.22.226.40]) by azsmga001.ch.intel.com with ESMTP; 10 Apr 2007 14:57:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: i="4.14,391,1170662400"; d="scan'208"; a="211290252:sNHT34563704" Received: from orsmsx419.amr.corp.intel.com ([10.22.226.88]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 10 Apr 2007 14:57:32 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] Read-only arrays ? Date: Tue, 10 Apr 2007 14:57:31 -0700 Message-ID: <509223F0BF55E74FA1247D17207E7A0C014E5043@orsmsx419.amr.corp.intel.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] Read-only arrays ? Thread-Index: Acd7uK9hAlpnlme/SWKlyyfvuZssuwAAbDJA From: "Harrison, John R" To: "Martin Jambon" Cc: "OCaml" , "David Teller" X-OriginalArrivalTime: 10 Apr 2007 21:57:32.0530 (UTC) FILETIME=[3D900D20:01C77BBB] X-Miltered: at concorde with ID 461C084F.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; read-only:01 arrays:01 read-only:01 arrays:01 ocaml's:01 mutable:01 workaround:01 caml-list:01 strings:01 strings:01 ugly:03 problem:05 badly:07 john:09 john:09 | 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. John.