Exception analysis for non-strict languages

Glynn, K;Stuckey, PJ;Sulzmann, M;Sondergaard, H
(2002) 7th International Conference on Functional Programming — Location: PITTSBURGH(Pennsylvania) (4.October.2002)

Files

No attached file found for this publication.

Details

Authors
  • Glynn, K
    Author
  • Stuckey, PJ
    Author
  • Sulzmann, M
    Author
  • Sondergaard, H
    Author
Abstract
In this paper we present the first exception analysis for a non-strict language. We augment a simply-typed functional language with exceptions, and show that we can define a type-based inference system to detect uncaught exceptions. We have implemented this exception analysis in the GHC compiler for Haskell, which has been recently extended with exceptions. We give empirical evidence that the analysis is practical.
Affiliations

Citations

Glynn, K., Stuckey, P., Sulzmann, M., & Sondergaard, H. (2002). Exception analysis for non-strict languages. SIGPLAN Notices, 37(9), 98-109. https://doi.org/10.1145/583852.581488 (Original work published 2002)