Generelizes 'rember' function.

By implementing it in terms of 'equal'.