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.4 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 98928BBCA for ; Thu, 3 Apr 2008 21:00:42 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAA7G9EfAXQIn/2dsb2JhbACsOg X-IronPort-AV: E=Sophos;i="4.25,599,1199660400"; d="scan'208";a="10392472" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 03 Apr 2008 21:00:42 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m33J0fln026154 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 3 Apr 2008 21:00:42 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AucAAA7G9EdEjshyfGdsb2JhbACRVQEBCwUCBwcWmi0 X-IronPort-AV: E=Sophos;i="4.25,599,1199660400"; d="scan'208";a="24567968" Received: from web30501.mail.mud.yahoo.com ([68.142.200.114]) by mail4-smtp-sop.national.inria.fr with SMTP; 03 Apr 2008 21:00:41 +0200 Received: (qmail 51075 invoked by uid 60001); 3 Apr 2008 19:00:40 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=KMrtM6LNH74lmZ7+kyzTq/t4T7cvNzyN4/lBT/uGAYGtFNv429QdzNJ9U+/yzJC2oDqC34OrLZGcSIn7KoP5EYwmvJpwm3pFwYskNXdERpAPKX3PeTfO/cTiNBCoES8L+XBnNIFwixY1kNClMmFN6Vh8SPLoFPJiWdnW+XTJ8+E=; X-YMail-OSG: _u.wyI8VM1ljX1xEJ5YcYR62Dpu.QxggJ1Nn0MbQ3b0g2rcyTdkwseoZLaCGbBAnvnkMfHpfkFtEznhyOWGynf_yyWZbTMB._67xwLGYAdAPefcyDQOYOWyR5hmCdA-- Received: from [141.212.108.138] by web30501.mail.mud.yahoo.com via HTTP; Thu, 03 Apr 2008 12:00:39 PDT Date: Thu, 3 Apr 2008 12:00:39 -0700 (PDT) From: David Thomas Subject: RE: [Caml-list] Operators for Int64 and Int32 To: David Allsopp , caml-list@inria.fr In-Reply-To: <002201c8959e$cb9e74f0$017ca8c0@countertenor> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <994325.49749.qm@web30501.mail.mud.yahoo.com> X-Miltered: at concorde with ID 47F5295A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; wrote:01 ints:01 caml-list:01 int:01 int:01 reuse:01 let:03 scope:04 declarations:04 perhaps:05 thus:10 dense:11 reasonable:12 david:14 david:14 For that matter, if the section is small enough, and thus the declarations obviously associated, you could even reuse +, -, *, etc. Of course, this forbids doing any operations on regular ints in that scope. --- David Allsopp wrote: > (* other, non-Int64/32 code *) > > let ( +^^ ) a b = ... > and ( -^^ ) a b = ... > ... > in > (* > * A block of code of reasonable length that makes > * extremely dense use of the above operators. > *) > > (* Perhaps more non-Int64/32 code *) ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com