Skip to main content

2001 | OriginalPaper | Buchkapitel

Effective Strictness Analysis with HORN Constraints

verfasst von : Kevin Glynn, Peter J. Stuckey, Martin Sulzmann

Erschienen in: Static Analysis

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

We introduce a constraint-based framework for strictness analysis applicable to ML style languages supporting higher-order functions, let-style polymorphism and algebraic data types. The analysis produces strictness types for expressions in a program. A strictness type is defined using Boolean constraints. Perhaps surprisingly, the Boolean constraints that arise during analysis are in HORN, which makes the operations on them amenable to efficient implementation. We have implemented the approach within a highly optimising Haskell compiler (GHC) and give a comparison with the current strictness analyser of GHC.

Metadaten
Titel
Effective Strictness Analysis with HORN Constraints
verfasst von
Kevin Glynn
Peter J. Stuckey
Martin Sulzmann
Copyright-Jahr
2001
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/3-540-47764-0_5

Premium Partner