kirancodes.me
To Proof Maintenance & Beyond!

Type-based analysis of uncaught exceptions

Xavier Leroy, François Pessaux

Abstract

This article presents a program analysis to estimate uncaught exceptions in ML programs. This analysis relies on unification-based type inference in a nonstandard type system, using rows to approximate both the flow of escaping exceptions (a la effect systems) and the flow of result values (a la control-flow analyses). The resulting analysis is efficient and precise; in particular, arguments carried by exceptions are accurately handled.

Related papers