An abstract monadic semantics for value recursion

被引:2
|
作者
Moggi, E [1 ]
Sabry, A [1 ]
机构
[1] Indiana Univ, Dept Comp Sci, Bloomington, IN 47405 USA
来源
关键词
D O I
10.1051/ita:2004018
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper proposes an operational semantics for value recursion in the context of monadic metalanguages. Our technique for combining value recursion with computational effects works uniformly for all monads. The operational nature of our approach is related to the implementation of recursion in Scheme and its monadic version proposed by Friedman and Sabry, but it defines a different semantics and does not rely on assignments. When contrasted to the axiomatic approach proposed by Erkok and Launchbury, our semantics for the continuation monad invalidates one of the axioms, adding to the evidence that this axiom is problematic in the presence of continuations.
引用
收藏
页码:375 / 400
页数:26
相关论文
共 50 条