Skip to content
Free planNo credit card requiredStart writing

article · IEEE Transactions on Software Engineering · 1993

Exception handlers in functional programming languages

R. Govindarajan

Cited by 4Abstract and details only

Abstract

Constructs for expressing exception handling can greatly help to avoid clutter in code by allowing the programmer to separate the code to handle unusual situations from the code for the normal case. The author proposes a new approach to embed exception handlers in functional languages. The proposed approach discards the conventional view of treating exceptions, as a means of effecting a control transfer; instead, exceptions are used to change the state of an object. The two types of exceptions, terminate and resume, are treated differently. A terminate exception, when raised, is viewed as shielding the input object. On the other hand, a resume exception designates the input object as curable and requires the immediate application of a handler function. This approach enables the clean semantics of functions raising exceptions without associating any implementation restriction and without loss of the referential transparency and the commutativity properties of functions.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">&gt;</ETX>

Cite this paper

APA 7

Govindarajan, R. (1993). Exception handlers in functional programming languages. IEEE Transactions on Software Engineering, 19(8), 826–834. https://doi.org/10.1109/32.238585

MLA 9

Govindarajan, R. “Exception handlers in functional programming languages.” IEEE Transactions on Software Engineering, vol. 19, no. 8, 1993, pp. 826–34, https://doi.org/10.1109/32.238585.

Chicago

Govindarajan, R. 1993. “Exception handlers in functional programming languages.” IEEE Transactions on Software Engineering 19 (8): 826–34. https://doi.org/10.1109/32.238585.

Harvard

Govindarajan, R. (1993) ‘Exception handlers in functional programming languages’, IEEE Transactions on Software Engineering, 19(8), pp. 826–834. Available at: https://doi.org/10.1109/32.238585.

BibTeX
@article{govindarajan1993exception,
  title = {{Exception handlers in functional programming languages}},
  author = {Govindarajan, R.},
  journal = {IEEE Transactions on Software Engineering},
  volume = {19},
  number = {8},
  pages = {826--834},
  year = {1993},
  doi = {10.1109/32.238585}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.