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=AWL autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 01F54BC69 for ; Mon, 30 Jul 2007 02:55:25 +0200 (CEST) Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.131]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6U0tOcc017790 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 30 Jul 2007 02:55:24 +0200 Received: from [80.229.56.224] (helo=beast.local) by pih-relay04.plus.net with esmtp (Exim) id 1IFJXf-0005r2-Vo for caml-list@inria.fr; Mon, 30 Jul 2007 01:55:24 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list Subject: Re: [Caml-list] Ropes and rope-like functional extensible vectors with O(1) prepend/append. Date: Mon, 30 Jul 2007 01:46:20 +0100 User-Agent: KMail/1.9.7 References: <20070728233305.GB28879@tux-chan> In-Reply-To: <20070728233305.GB28879@tux-chan> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707300146.20940.jon@ffconsultancy.com> X-Miltered: at concorde with ID 46AD36FC.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; vectors:01 prepend:01 mutation:01 node:01 nodes:01 hofs:01 ocaml:01 ocaml:01 frog:98 wrote:01 extensible:01 experimental:01 caml-list:01 constructor:01 append:02 On Sunday 29 July 2007 00:33:05 Mauricio Fernandez wrote: > It is still young and experimental, but it's maybe worth a look. Any > feedback is very welcome. Looks awesome! It seems to use mutation internally. Is it not thread safe? I have some suggestions: I'd like metadata in every node, so I can provide a constructor that combines the metadata of child nodes and a cull function to accelerate searches. The usual HOFs, like map. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists/?e