What’s the purpose of Object:pairs?
pairs { arg that;
var list;
list = [];
this.asArray.do {|a|
// side note: inefficient to convert 'that.asArray' for every loop iteration :-\
that.asArray.do {|b|
list = list.add(a.asArray ++ b)
};
};
^list;
}
Just got tripped up by this… apart from the noted ineffiency, I don’t get what this is for.
hjh