Many problems in program analysis and transformation are simplified in the context of pure functional languages. The desire for efficiency and notational flexibility often leads, however, production versions of functional languages to include ad-hoc imperative extensions that defeat program analysis. This paper shows how a hierarchy of restricted imperative constructs can be introduced into a functional language. These constructs preserve a local impurity property where the detrimental effects of non-functional constructs are limited to the functions in which they appear. The properties of the language are investigated in the context of a formal semantics.
CITATION STYLE
Nicholas Graham, T. C., & Kock, G. (1991). Domesticating imperative constructs so that they can live in a functional world. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 528 LNCS, pp. 51–62). Springer Verlag. https://doi.org/10.1007/3-540-54444-5_87
Mendeley helps you to discover research relevant for your work.