Re: [Scheme-reports] Formal Comment: what is the required behavior of 'lazy'?
Alex Shinn 28 Jun 2012 08:27 UTC
On Thu, Jun 28, 2012 at 1:12 AM, Eli Barzilay <eli@barzilay.org> wrote:
> Four hours ago, Alex Shinn wrote:
>> On Wed, Jun 27, 2012 at 7:11 PM, Eli Barzilay <eli@barzilay.org> wrote:
>> > 6 hours ago, Alex Shinn wrote:
>> >>
>> >> (where lazy has been renamed delay-force).
>> >
>> > `delay-force' would a bad name becuase it's an implementation
>> > description. Except that in this case that description is wrong,
>> > making "bad name" an understatement.
>>
>> This is purely subjective.
>
> The attempted analogy is objectively broken.
>
>
>> There were complaints that 'lazy' was confusing, and put extra
>> burden on programmers to remember when to use delay and when to use
>> lazy.
>
> With both present, there is an easy way to remember which one to
> choose: `lazy'.
`delay' is useful for many other things besides streams,
where `lazy' would not be applicable.
--
Alex
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports