What Is A Pure Functional?

ICALP'10: Proceedings of the 37th international colloquium conference on Automata, languages and programming: Part II(2010)

引用 12|浏览26
暂无评分
摘要
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 questionanswer 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.
更多
查看译文
关键词
pure functionals,functional F,functional argument,ML function,captures purity,corresponding question-answer strategy,intensional aspect,new notion,relational parametricity
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要