Type-based analysis of uncaught exceptions

Xavier Leroy, François Pessaux

ACM Transactions on Programming Languages and Systems · 2000 · 88 citations · 38 references

DOIFull text

Open access

Concepts

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.

References

38