[erlang-questions] Python Generators In Erlang and constant memory usage
Masklinn
masklinn@REDACTED
Fri Mar 20 11:19:43 CET 2009
On 20 Mar 2009, at 08:56 , Ulf Wiger wrote:
> Frederic T-H wrote:
> This feels a bit reminiscent of lazy lists, which were
> discussed at some length on the erlang list quite
> recently (the year 2000, in fact):
>
> http://erlang.org/pipermail/erlang-questions/2000-October/001875.html
>
> BR,
> Ulf W
> --
That's pretty much what they are yes, see the initial generator PEP [http://www.python.org/dev/peps/pep-0255/
] and the generator comprehensions/expressions PEP [http://www.python.org/dev/peps/pep-0289/
] (a lazy list comprehension) for more infos.
More information about the erlang-questions
mailing list