Hi,

I read some contradictory information about tail call optimization in 
mono. So I did this test in FSharp:

let test_1 fn n = if n < 0 then 1 else fn (n - 1)
let rec test_2 n = if n < 0 then 1 else test_1 test_2 (n - 1)
let main = test_1 test_2 10000000

It works on MS .Net but crashes on mono (linux).

Do you plan to support the correct tail call optimization?
If yes, when it should be supported correctly?

Thanks,
  Peter.

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to