[erlang-questions] Erlang math libraries
James Hague
james.hague@REDACTED
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:
http://erlang.org/ml-archive/erlang-questions/200211/msg00158.html
(The short version is that it requires changes to the garbage collector in
order to work.)
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070518/1b781220/attachment.htm>
More information about the erlang-questions
mailing list