Back to Search Start Over

Watch Out for that Tree! A Tutorial on Shortcut Deforestation

Authors :
Alberto Pardo
João Paulo Fernandes
Jácome Cunha
João Saraiva
Universidade do Minho
Source :
Central European Functional Programming School ISBN: 9783030283452, CEFP
Publication Year :
2019
Publisher :
Springer International Publishing, 2019.

Abstract

Functional programmers are strong enthusiasts of modular solutions to programming problems. Since software characteristics such as readability or maintainability are often directly proportional to modularity, this programming style naturally contributes to the beauty of functional programs. Unfortunately, in return of this beauty we often sacrifice efficiency: modular programs rely, at runtime, on the creation, use and elimination of intermediate data structures to connect its components. In this tutorial paper, we study an advanced technique that attempts to retain the best of this two worlds: (i) it allows programmers to implement beautiful, modular programs (ii) it shows how to transform such programs, in a way that can be incorporated in a compiler, into programs that do not construct any intermediate structure.<br />(undefined)

Details

ISBN :
978-3-030-28345-2
ISBNs :
9783030283452
Database :
OpenAIRE
Journal :
Central European Functional Programming School ISBN: 9783030283452, CEFP
Accession number :
edsair.doi.dedup.....1b33db59fe4acd21190c051fbf6c3878
Full Text :
https://doi.org/10.1007/978-3-030-28346-9_1