lazy evaluation
Johan Granberg
lijat.meREM at OVEgmail.com
Fri Jun 1 13:07:05 PDT 2007
Pierre Habouzit wrote:
> On Fri, Jun 01, 2007 at 07:35:03PM +0000, Pierre Habouzit wrote:
>> The behaviour of lazy in wrt lazy arguments, and it did not worked
>> like I expected. let's take the following code as an example:
>
> Wow sorry for that sentence, I meant:
>
> I tried the lazy arguments feature, and it did not worked like I
> expected. let's take the following code as an example: [...]
This is by design, one example was a do_times that evaluated the lazy
expression n times.
More information about the Digitalmars-d
mailing list