Resuming: - Dan proposed an 'id' method returning an INTVAL; - Brent Dax proposed to return a string; - Nicholas Clark asked to return an unsigned value; - Piers didn't like the 'id' name unless globally guaranteed to be unique;
So, I propose another name (hash). Returning a string can be done another way. Parrot may supply a string2hash function which should be called before returning for PMC which would like to return a string. And yes, maybe returning an unsigned value be more correct. Now, I ask for PMC programmers to take care implementing this! Notice that, for example in arrays, arrays with the same length but different elements should return different hash codes (or try). But for the same elements MUST return the same hash code. Hugs Alberto -- Alberto Manuel B. Simoes Departamento de Informática - Universidade do Minho http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net