Re: [Vala] Libgee's Roadmap proposal



Hi Didier,

- Does some want a convenience Tuple (or Pair) class ?

YES! They're very helpful.

What services would you need on such a class ? (Apart from wrapping the
two values :))

Equality tests (pairs and tuples),
Swapping elements (pairs),
Adding from/to other (pairs, tuples),
Slicing into other,
Converting to/from string.

Cheers,

:M:




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