From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id B4832BBBB for ; Tue, 28 Feb 2006 00:49:36 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1RNnaY9002129 for ; Tue, 28 Feb 2006 00:49:36 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA00817 for ; Tue, 28 Feb 2006 00:49:33 +0100 (MET) Received: from mail.davidb.org (mail.davidb.org [66.93.32.219]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1RNnVMQ002105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 Feb 2006 00:49:32 +0100 Received: from davidb by mail.davidb.org with local (Exim 4.54 #1 (Debian)) id 1FDs7O-0000fp-1o; Mon, 27 Feb 2006 15:49:30 -0800 Date: Mon, 27 Feb 2006 15:49:30 -0800 From: David Brown To: "David M. Cooke" Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: Question on performance/style issue Message-ID: <20060227234930.GA1527@old.davidb.org> References: <43FF2BC9.6030503@studio.baretta.com> <20060224190501.GA27740@fork.recoil.org> <43FF5DA6.6000600@studio.baretta.com> <200602251214.03353.Andrej.Bauer@andrej.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Miltered: at nez-perce with ID 44039010.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4403900B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 caml-list:01 andrej:01 andrej:01 baretta:01 anil:01 syntax:01 notation:01 haskell:01 wrote:01 wrote:01 writes:01 integer:01 append:02 python:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Mon, Feb 27, 2006 at 05:37:37PM -0500, David M. Cooke wrote: > Andrej Bauer writes: > > > On Friday 24 February 2006 20:25, Alessandro Baretta wrote: > >> Anil Madhavapeddy wrote: > >> >>>x ++ f ++ g ++ h > >> >> > >> >>What is the impact of the this programming style on execution > >> >> performance? > > > > 1. It should be easy enough to extend the syntax so that you don't have to > > worry about it getting compiled away. > > > > 2. Mathematica uses notation x // f. Why not use the same? Many people will > > misunderstand ++ as something coming from C. > > Those of use who don't use Mathematica will misunderstand that as a > comment (from C++), or an integer divide (Python), or ...? Well, I see ++ as string or list append, since that's what Haskell uses. Dave