[erlang-questions] Erlang math libraries
Fri May 18 15:39:48 CEST 2007
>This seems like it wouldn't be tail recursive. So does the erlang compiler
>optimize this somehow?
Google for "tail recursion modulo cons." No, the current Erlang compiler
doesn't handle it. I brought this up back 2002:
(The short version is that it requires changes to the garbage collector in
order to work.)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions