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:

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to