Exception analysis for non-strict languages

  • Authors:
  • Kevin Glynn;Peter J. Stuckey;Martin Sulzmann;Harald Søndergaard

  • Affiliations:
  • Université catholique de Louvain, Belgium;The University of Melbourne, Vic., Australia;National University of Singapore;The University of Melbourne, Vic., Australia

  • Venue:
  • Proceedings of the seventh ACM SIGPLAN international conference on Functional programming
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

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.