Deforestation (computer science)
In the theory of programming languages in computer science, deforestation (also known as fusion) is a program transformation to eliminate intermediate lists or tree structures that are created and then immediately consumed by a program.[src] The term "deforestation" was created by Philip Wadler, originally in his 1990 paper "Deforestation: transforming programs to eliminate trees".[src] Deforestation is typically applied to programs in functional programming languages, more so non-strict programming languages such as Haskell.[src] One algorithm for deforestation, named shortcut deforestation, is implemented in the Glasgow Haskell Compiler.[src] Deforestation is closely related to escape analysis.[src]
In the theory of programming languages in computer science, deforestation (also known as fusion) is a program transformation to eliminate intermediate lists or tree structures that are created and then immediately consumed by a program.[src] The term "deforestation" was created by Philip Wadler, originally in his 1990 paper "Deforestation: transforming programs to eliminate trees".[src] Deforestation is typically applied to programs in functional programming languages, more so non-strict programming languages such as Haskell.[src] One algorithm for deforestation, named shortcut deforestation, is implemented in the Glasgow Haskell Compiler.[src] Deforestation is closely related to escape analysis.[src]
10 sentences · 10 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Deforestation (computer science)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/deforestation-computer-science. Accessed 01 December 2026.
Chicago
"Deforestation (computer science)." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/deforestation-computer-science.
APA
encyclopegia.org. (2025). Deforestation (computer science). Retrieved December 1, 2026, from https://encyclopegia.org/wiki/deforestation-computer-science
Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON