<p><br>
On Apr 9, 2012 9:19 AM, "Manu" <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote:<br>
><br>
> OMG, DO WANT! :P<br>
> Who wrote this? I wonder if they'd be interested in adapting it to VisualD + MonoDevelop?<br>
><br>
><br>
> On 9 April 2012 12:56, Ary Manzana <<a href="mailto:ary@esperanto.org.ar">ary@esperanto.org.ar</a>> wrote:<br>
>><br>
>> On 4/9/12 7:26 AM, Kevin Cox wrote:<br>
>>><br>
>>> I was wondering about the foreach statement and when you implement<br>
>>> opApply() for a class it is implemented using closures.  I was wondering<br>
>>> if this is just how it is expressed or if it is actually syntatic<br>
>>> sugar.  The reason I aski is because if you have a return statement<br>
>>> inside a foreach it returns from the outside function not the "closure".<br>
>>><br>
>>> I was just wondering if anyone could spill the implementation details.<br>
>>><br>
>>> Thanks,<br>
>>> Kevin<br>
>><br>
>><br>
>> In this video you can see what foreach with opApply gets translated to (at about minute 1):<br>
>><br>
>> <a href="http://www.youtube.com/watch?v=oAhrFQVnsrY">http://www.youtube.com/watch?v=oAhrFQVnsrY</a><br>
></p>
<p>Unfortunately I can't get it working.  Ill have to keep fiddling.<br>
</p>