caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pal-Kristian Engstad <engstad@naughtydog.com>
To: Oleg <oleg_inconnu@myrealbox.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Why is (@) written in O'Caml?
Date: Thu, 5 Dec 2002 15:53:04 -0800	[thread overview]
Message-ID: <200212051553.04443.engstad@naughtydog.com> (raw)
In-Reply-To: <200212051802.02996.oleg_inconnu@myrealbox.com>

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 from 
"last call modulo constructor" optimization. In append we are returning 
either Nil or Cons(hd, tl), and the compiler should be able to optimize 
append, since the only call to the recursive function is in the Cons 
constructor. 

I'm not sure if Ocaml does this though. 

PKE.
-- 
  _       
  \`.       Pål-Kristian Engstad, Senior Software Engineer,
   \ `|     Naughty Dog, Inc., 1315 3rd Street Promenade, 
  __\ |`.   Santa Monica, CA 90046, USA. (310) 752-1000 x799. 
    /  /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


      reply	other threads:[~2002-12-05 23:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 20:47 Oleg
2002-12-05 21:16 ` Pal-Kristian Engstad
2002-12-05 21:24   ` Oleg
2002-12-05 21:55     ` Pal-Kristian Engstad
2002-12-05 23:27       ` Oleg
2002-12-05 23:53         ` Pal-Kristian Engstad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200212051553.04443.engstad@naughtydog.com \
    --to=engstad@naughtydog.com \
    --cc=caml-list@inria.fr \
    --cc=oleg_inconnu@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).