On Fri, Mar 13, 2009 at 8:28 AM, Jules Bean <jules@jellybean.co.uk> wrote:

Maybe some other solution, like WeightedProperties2 ... | WeightedProperties4 ...
would be better...

Maybe just [(GLclampf, v)] ? The docs could note that the list will in practice probably be of length 2 or 4, but most of the situations I can imagine you would treat it more uniformly as a list anyway.

Ah, I missed the obvious... The updated patch is in the attachment.

Balazs