What is a pure functional?

14Citations
Citations of this article
24Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Given an ML function f : (int->int)->int how can we rigorously specify that f is pure, i.e., produces no side-effects other than those arising from calling its functional argument? We show that existing methods based on preservation of invariants and relational parametricity are insufficient for this purpose and thus define a new notion that captures purity in the sense that for any functional F that is pure in this sense there exists a corresponding question-answer strategy. This research is motivated by an attempt to prove algorithms correct that take such supposedly pure functionals as input and apply them to stateful arguments in order to inspect intensional aspects of their behaviour. © 2010 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Hofmann, M., Karbyshev, A., & Seidl, H. (2010). What is a pure functional? In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6199 LNCS, pp. 199–210). https://doi.org/10.1007/978-3-642-14162-1_17

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free