Programs for Cheap!
Authors:
- 1 July 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10436871,p. 115-126
Abstract
Write down the definition of a recursion operator on a piece of paper. Tell me its type, but be careful not to let me see the operator's definition. I will tell you an optimization theorem that the operator satisfies. As an added bonus, I will also give you a proof of correctness for the optimisation, along with a formal guarantee about its effect on performance. The purpose of this paper is to explain these tricks.Keywords
This publication has 26 references indexed in Scilit:
- The HERMIT in the Tree2013
- Improvements for FreeElectronic Proceedings in Theoretical Computer Science, 2011
- Factorising folds for faster functionsJournal of Functional Programming, 2010
- The worker/wrapper transformationJournal of Functional Programming, 2009
- Generalising monads to arrowsScience of Computer Programming, 2000
- A Foundation for Space-Safe Transformations of Call-by-Need ProgramsElectronic Notes in Theoretical Computer Science, 1999
- Formally based profiling for higher-order functional languagesACM Transactions on Programming Languages and Systems, 1997
- A characterisation of the least-fixed-point operator by dinaturalityTheoretical Computer Science, 1993
- Functorial polymorphismTheoretical Computer Science, 1990
- A unification algorithm for typed λ-calculusTheoretical Computer Science, 1975