From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA16162; Fri, 6 Dec 2002 00:51:02 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 AAA15938 for ; Fri, 6 Dec 2002 00:51:02 +0100 (MET) Received: from slave-dog.naughtydog.com (naughtydog200.brandx.net [209.55.75.200]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id gB5Np0109674 for ; Fri, 6 Dec 2002 00:51:00 +0100 (MET) Received: from SMTP agent by mail gateway Thu, 05 Dec 2002 15:53:11 -0800 Received: from katn-dog (engstad@katn-dog.naughtydog.com [10.0.0.90]) by slave-dog.naughtydog.com (SGI-8.9.3/8.9.3) with ESMTP id PAA45135; Thu, 5 Dec 2002 15:53:06 -0800 (PST) Content-Type: text/plain; charset="iso-8859-1" From: Pal-Kristian Engstad Organization: Naughty Dog, Inc. To: Oleg Subject: Re: [Caml-list] Why is (@) written in O'Caml? Date: Thu, 5 Dec 2002 15:53:04 -0800 User-Agent: KMail/1.4.3 References: <200212051547.09337.oleg_inconnu@myrealbox.com> <200212051355.41175.engstad@naughtydog.com> <200212051802.02996.oleg_inconnu@myrealbox.com> In-Reply-To: <200212051802.02996.oleg_inconnu@myrealbox.com> Cc: caml-list@inria.fr MIME-Version: 1.0 Message-Id: <200212051553.04443.engstad@naughtydog.com> Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by slave-dog.naughtydog.com id PAA45135 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thursday 05 December 2002 03:27 pm, Oleg wrote: > P.S. I tried replying off the list (where "what do you mean" questions > usually belong), but your mail server is refusing access. Hmm, that's odd - I get mails all the time. :-) Btw, I had a look at it on the net, and apparently this would benefit fro= m=20 "last call modulo constructor" optimization. In append we are returning=20 either Nil or Cons(hd, tl), and the compiler should be able to optimize=20 append, since the only call to the recursive function is in the Cons=20 constructor.=20 I'm not sure if Ocaml does this though.=20 PKE. --=20 _ =20 \`. P=E5l-Kristian Engstad, Senior Software Engineer, \ `| Naughty Dog, Inc., 1315 3rd Street Promenade,=20 __\ |`. Santa Monica, CA 90046, USA. (310) 752-1000 x799.=20 / /o mailto:engstad@naughtydog.com http://www.naughtydog.com / '~ mailto:mrengstad@yahoo.com http://www.engstad.com / ,' Hang-gliding Rulez! ~' ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners