From: Brian Candler Date: 2003-08-26T00:10:21+09:00 Subject: Re: Rite/Ruby2.0 & Ruby vs OCaml On Mon, Aug 25, 2003 at 02:23:56PM +0900, Jason Watkins wrote: > OCaml is a fine language, but it certainly is not as fun as ruby... unless > you're a functional languages geek :P. I'm not sure that even functional languages geeks would approve of OCaml. I just installed it and tried writing: let rec sum n = if n < 1 then 0 else n + sum(n-1);; print_int(sum 1000000);; and all I got was: Stack overflow during evaluation (looping recursion?). So unless I've missed something, it doesn't seem to support tail-recursion, in which case functional programmers aren't going to be happy at all... Regards, Brian.