A composition approach to time analysis of first order lazy functional programs

Bror Bjerner, S. Holmström

1989 · 49 citations · 3 references

DOIFull text

Open access

Concepts

Abstract

We present a method for computing the number of steps needed to compute a lazy first order functional program e (to an approximation of its value). The method itself is described as a lazy functional program. Moreover, it is compositional, because it is defined by recursion on the structure of e. In other words, the number of steps needed to compute e is described in terms of the number of steps the parts of e need. (This is in contrast with the obvious operational method to define an interpreter and count the number of steps that it needs.)

References

3