An extensible dynamically-typed hierarchy of exceptions

@inproceedings{Marlow2006AnED,
  title={An extensible dynamically-typed hierarchy of exceptions},
  author={Simon Marlow},
  booktitle={Haskell},
  year={2006}
}
In this paper we address the lack of extensibility of the exception type in Haskell. We propose a lightweight solution involving the use of existential types and the Typeable class only, and show how our solution allows a fully extensible hierarchy of exception types to be declared, in which a single overloaded catch operator can be used to catch either specific exception types, or exceptions belonging to any subclass in the hierarchy. We also show how to combine the existing object-oriented… CONTINUE READING
Highly Cited
This paper has 21 citations. REVIEW CITATIONS

From This Paper

Topics from this paper.