Rename Variables

I know that we need to be able to assign varibles to columns returned by various primitive operations (SS.findTuples, and various StringPool operations). However for the vast majority of Tuples objects, a renameVariables(Constraint) operation is nonsense.

We need to either replace with an Annotation; attach it to Resolution (might be a problem with SP based results, as they are not resolutions atm); or change the function to act as a general 'rename' operation, that can be defaulted in AbstractTuples or similar.

original page by Andrae Muys

As I recall, renameVariables was something David Makespeace snuck in for efficiency's sake. It distressed me at the time because we'd just gone to considerable effort to rewrite Tuples to be immutable.

original comment by Simon Raboczi