首页> 外文学位 >Value recursion in monadic computations.
【24h】

Value recursion in monadic computations.

机译:一元计算中的值递归。

获取原文
获取原文并翻译 | 示例

摘要

This thesis addresses the interaction between recursive declarations and computational effects modeled by monads. More specifically, we present a framework for modeling cyclic definitions resulting from the values of monadic actions. We introduce the term value recursion to capture this kind of recursion.; Our model of value recursion relies on the existence of particular fixed-point operators for individual monads, whose behavior is axiomatized via a number of equational properties. These properties regulate the interaction between monadic effects and recursive computations, giving rise to a characterization of the required recursion operation. We present a collection of such operators for monads that are frequently used in functional programming, including those that model exceptions, non-determinism, input-output, and stateful computations.; In the context of the programming language Haskell, practical applications of value recursion give rise to the need for a new language construct, providing support for recursive monadic bindings. We discuss the design and implementation of an extension to Haskell's do-notation which allows variables to be bound recursively, eliminating the need for programming with explicit fixed-point operators.
机译:本文讨论了递归声明与单子模型计算效果之间的相互作用。更具体地说,我们提供了一个框架,用于建模由单子动作值产生的循环定义。我们引入术语值递归来捕获这种递归。我们的价值递归模型依赖于单个monad的特定定点运算符的存在,其行为通过许多方程式属性公理化。这些属性调节单子效果与递归计算之间的相互作用,从而引起对所需递归操作的表征。我们为函数式编程中经常使用的monad提供了此类运算符的集合,包括对异常,不确定性,输入输出和有状态计算进行建模的运算符。在Haskell编程语言的上下文中,值递归的实际应用引起了对新语言构造的需求,该语言构造为递归单子绑定提供了支持。我们讨论了Haskell do-notation扩展的设计和实现,该扩展允许对变量进行递归绑定,从而无需使用显式定点运算符进行编程。

著录项

  • 作者

    Erkok, Levent.;

  • 作者单位

    OGI School of Science & Engineering.;

  • 授予单位 OGI School of Science & Engineering.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2002
  • 页码 162 p.
  • 总页数 162
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号