moved shared-results? to function-cache and changed specialization on compute-cache-key