| Exception analysis for non-strict languages |
| Full text |
Pdf
(241 KB)
|
| Source
|
International Conference on Functional Programming
archive
Proceedings of the seventh ACM SIGPLAN international conference on Functional programming
table of contents
Pittsburgh, PA, USA
Pages: 98 - 109
Year of Publication: 2002
ISBN:1-58113-487-8
Also published in ...
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 21, Citation Count: 2
|
|
|
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.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
|
| |
4
|
M. Fähndrich and A. Aiken. Refined type inference for ML. In First International Workshop on Types in Compilation (TIC'97), 1997.
|
 |
5
|
|
 |
6
|
Jeffrey S. Foster , Manuel Fähndrich , Alexander Aiken, A theory of type qualifiers, Proceedings of the ACM SIGPLAN 1999 conference on Programming language design and implementation, p.192-203, May 01-04, 1999, Atlanta, Georgia, United States
|
| |
7
|
|
| |
8
|
|
| |
9
|
J. Guzmán and A. Suárez. An extended type system for exceptions. In ACM SIGPLAN Workshop on ML and Its Applications, 1994.
|
 |
10
|
|
| |
11
|
X. Leroy. The Objective Caml system, 1996. http://pauillac.inria.fr/ocaml/.
|
| |
12
|
|
 |
13
|
|
 |
14
|
Simon Peyton Jones , Alastair Reid , Fergus Henderson , Tony Hoare , Simon Marlow, A semantics for imprecise exceptions, Proceedings of the ACM SIGPLAN 1999 conference on Programming language design and implementation, p.25-36, May 01-04, 1999, Atlanta, Georgia, United States
|
| |
15
|
S. Peyton Jones et al. Report on the programming language Haskell~98. Technical report, February 1999. http:/haskell.org.
|
| |
16
|
|
|