Title :
Software fault-tolerance in functional programming
Author :
Govindarajan, R.
Author_Institution :
Dept. of Electr. Eng., McGill Univ., Montreal, Que., Canada
Abstract :
Handing exceptions in functional languages has always been a problem, due to the inherent conflict between the control-flow-oriented approach of exception handlers and the functional style evaluation. The author proposes an approach that discards the conventional view of treating exceptions as a means of effecting control transfer. Instead, exceptions are used to change the state of an object: A terminate exception is viewed as shielding the input object. A resume exception designates the input object as curable and requires the immediate application of a handler function. This approach enables the description of the semantics of exception raising functions without associating any implementation restriction and without the loss of referential transparency and commutating of functions
Keywords :
exception handling; fault tolerant computing; functional programming; control-flow-oriented approach; exceptions handling; functional languages; functional programming; referential transparency; resume exception; software fault tolerance; terminate exception; Fault tolerance; Functional programming; Parallel processing; Resumes; Robustness; Software reliability; Software standards;
Conference_Titel :
Computer Software and Applications Conference, 1992. COMPSAC '92. Proceedings., Sixteenth Annual International
Conference_Location :
Chicago, IL
Print_ISBN :
0-8186-3000-0
DOI :
10.1109/CMPSAC.1992.217569