MiniD 2 - Tentative Release Candidate 1

Jarrett Billingsley jarrett.billingsley at gmail.com
Sat Dec 13 07:05:03 PST 2008


On Wed, Dec 10, 2008 at 11:45 PM, Jarrett Billingsley
<jarrett.billingsley at gmail.com> wrote:
>> I think if MiniD is able to do the syntax I proposed, I wouldn't have those bunch
>> questions about foreach on a coroutine function.
>> And People won't expect do foreach on a coroutine in most cases if that syntax comes
>> true. Because for most people, a coroutine opApply is more intuitive than a coroutine
>> with an opApply method available.
>
> I've considered making coroutines a basic iterable type, in which case
> their opApply would disappear.  (it would also make the "dummy" first
> index disappear.)

And they are now :)


More information about the Digitalmars-d-announce mailing list