Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Why is (@) written in O'Caml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pal-Kristian Engstad <engstad@n...>
Subject: Re: [Caml-list] Why is (@) written in O'Caml?
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 

I'm not sure if Ocaml does this though. 

  \`.       Pål-Kristian Engstad, Senior Software Engineer,
   \ `|     Naughty Dog, Inc., 1315 3rd Street Promenade, 
  __\ |`.   Santa Monica, CA 90046, USA. (310) 752-1000 x799. 
    /  /o
   /  '~
  / ,'      Hang-gliding Rulez!

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: