August 15, 2008 Re: yield, C# etc | ||||
|---|---|---|---|---|
| ||||
downs:
> Also .. is it expected that this does an infinite loop?
Yes, often numeric sequences are infinite. One of the advantages of lazy computation is to allow to manage infinite sequences.
Bye,
bearophile
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply