yield, C# etc

bearophile bearophileHUGS at lycos.com
Thu Aug 14 17:01:48 PDT 2008


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



More information about the Digitalmars-d mailing list