Re: [Tracker] REVIEW: external-crawler branch, part2



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/08/2014 10:09, Philip Van Hoof wrote:
87c30cc73629ff54ff8e5170ded499c2cbbda61a

Sorry it's like this instead of course:

Enumerable thingThatHasItems = new List(); Enumerable e =
thingThatHasItems.Enumerate(); // (not this but)

Enumerator e = thingThatHasItems.Enumerate();

Value v;

while (e.Next(&v)) { }


interface Value {
}

interface Enumerable {
   Enumerator Enumerate();
}

interface Enumerator {
        Bool Next(ref Value value);
}

interface List : Enumerable {
        Value Get (index i);
        void Put (index i, Value value);
}

interface LinkedList : Enumerable {
        void Prepend (Value value);
        void Append (Value value);
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)

iQEcBAEBAgAGBQJT5IamAAoJEEP2NSGEz4aDovUH/2j90m6bf33YQvLJDUB5Nq9V
l4+dm6hZJSmls4vsM08xU39prk60d2rze7PkK7Y+3DMHEd2hKCmCzLd4DeFwXrRU
BS91jZoCF7nuSBSbsv9BXy+EfyanQr62QqYJ3kRVAhpktp9Oo/m2LyyuOCCZEBi4
rQ9wxYl6xGWFjhujkfx7Gd0D/wHaA1Ytjm58e4Hv9gsyOTXwL1lH8Usy8n2jEcM1
HjS1p3DWYapQwbt5wGTOEkW6KYu5a6LDgff28xHexE4yD7wUAGXvpGrxy3Y5/PMm
OGa8Sqm8Xcff0tg+vmPANxLj75fMK0Lgix5GJx2MmnYYHbKJgkDQqZeeFKlJLOw=
=P57Q
-----END PGP SIGNATURE-----


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