[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:


(The short version is that it requires changes to the garbage collector in
order to work.)

-------------- 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