The simplest way to analyse the primes example would be to perform full evaluation of integers(g,g) and length(g,g). It also makes sense not to apply single-step unfolding when full evaluation is possible. This is kind of halfway between bug and enhancement.
The simplest way to analyse the primes example would be to perform full evaluation of integers(g,g) and length(g,g). It also makes sense not to apply single-step unfolding when full evaluation is possible. This is kind of halfway between bug and enhancement.