Re: [Vala] Ducktyped foreach



On Fri, 2007-09-14 at 00:18 +0200, Philip Van Hoof wrote:
In .NET you have Ducktyped foreach stuff. This means that you don't need
to implement IEnumerable to be usable with foreach statements:

Here's an untested but improved patch.

-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog



Attachment: ducktypediters.diff
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]