Re: Gee Functional iterators
- From: Martin DeMello <martindemello gmail com>
- To: Maciej Piechotka <uzytkownik2 gmail com>
- Cc: libgee-list gnome org
- Subject: Re: Gee Functional iterators
- Date: Tue, 13 Jul 2010 19:38:52 +0530
On Tue, Jul 13, 2010 at 7:21 PM, Maciej Piechotka <uzytkownik2 gmail com> wrote:
> On 13/07/10 13:17, Martin DeMello wrote:
>>
>> I'm new to vala in general; could someone explain why adding methods
>> to, say, Iterable would break the API?
>
> Because method add to interface means any class which implemented the
> interface must implement additional method. Which it currently does not
> implement.
But can't the methods be defined as concrete in the interface, the way
ruby does it? All it requires is foreach.
martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]