Using circular programs to eliminate multiple traversals of data (Q800713)

From MaRDI portal





scientific article; zbMATH DE number 3878335
Language Label Description Also known as
English
Using circular programs to eliminate multiple traversals of data
scientific article; zbMATH DE number 3878335

    Statements

    Using circular programs to eliminate multiple traversals of data (English)
    0 references
    1984
    0 references
    This paper describes a technique for transforming functional programs that repeatedly traverse a data structure into more efficient alternatives that do not. The transformation makes essential use of lazy evaluation and local recursion (such as provided by letrec, or its equivalent) to build a circular program that, on one pass over the structure, determines the effects of the individual traversals and then combines them.
    0 references
    transforming functional programs
    0 references
    lazy evaluation
    0 references
    local recursion
    0 references
    0 references

    Identifiers