kirancodes.me
To Proof Maintenance & Beyond!

Call-pattern specialisation for haskell programs

Simon L. Peyton Jones

Abstract

User-defined data types, pattern-matching, and recursion are ubiquitous features of Haskell programs. Sometimes a function is called with arguments that are statically known to be in constructor form, so that the work of pattern-matching is wasted. Even worse, the argument is sometimes freshly-allocated, only to be immediately decomposed by the function.

Related papers