[erlang-questions] Lists Comprehentions vs. Accumulators
Shimon Cohen
shimoco@REDACTED
Tue Aug 21 22:14:53 CEST 2007
Hi
My question concerning section 3.12 in Joe's "Programming Erlang":
Why odd_and_evens should be less space efficient than odd_and_evens_acc ?
I guess it must be somthing with tail-recursion, but can't see why
List Comprehetions can't be implemented tail-recursive or even as a plain
loop.
Thanks,
Shimon Cohen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070821/10457a64/attachment.htm>
More information about the erlang-questions
mailing list