From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p6L2bBeg015140 for ; Thu, 21 Jul 2011 04:37:16 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai4DAEiPJ07RVaG2kGdsb2JhbAA9AQMShEqUFI5/CBQBAQEBCQkNBxQEIadGCotlQIJOhEo7iGsCAwaBJYQDgQ8Ekm6FB4ElggSEFjyDdw X-IronPort-AV: E=Sophos;i="4.67,238,1309730400"; d="scan'208";a="98937329" Received: from mail-gx0-f182.google.com ([209.85.161.182]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 21 Jul 2011 04:37:15 +0200 Received: by gxk28 with SMTP id 28so585458gxk.27 for ; Wed, 20 Jul 2011 19:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ocxToLBs3TrZUV1C08zzHNQQ9Xyg1KT1P4BjpDlCXgA=; b=kBcxdtemmQqJMsbenN6VdhtdX/07s5oTmAIvIR5KxAgA87bxneI88WL6S2u27FLxDG M5KmKXl0JX/Ii55QUTHECLtSTwVfeJPzET7f9umWLFLWH4ZP3wV2qRKHCo4mQTNWemeB BMmkMTe6AWuY791bDWTgKY7lAFgclAvHiPksI= Received: by 10.150.114.2 with SMTP id m2mr69140ybc.3.1311215833844; Wed, 20 Jul 2011 19:37:13 -0700 (PDT) Received: from [192.168.1.65] (99-121-78-10.lightspeed.lnngmi.sbcglobal.net [99.121.78.10]) by mx.google.com with ESMTPS id p11sm558638ibd.52.2011.07.20.19.37.12 (version=SSLv3 cipher=OTHER); Wed, 20 Jul 2011 19:37:12 -0700 (PDT) Message-ID: <4E2790D7.8050807@gmail.com> Date: Wed, 20 Jul 2011 22:37:11 -0400 From: Edgar Friendly User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: caml-list@inria.fr References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Rope.of_string looses characters On 07/20/2011 08:13 PM, pjfrey@sympatico.ca wrote: > I am encountering a very baffling problem with Batteries: > BatRope.of_string looses characters when converting strings longer then > about 250 characters. This is so hard to imagine that I have written a > small demo program: > Please, somebody tell me I am imagining things and there is a silly > error in above code. > Not your fault - mine. Apparently the rope code is less tested than thought. Bug fixed by git commit d88dca5. Time to add a bunch more tests. E.