首页> 外文期刊>Electronic Notes in Theoretical Computer Science >Some New Approaches in Functional Programming Using Algebras and Coalgebras
【24h】

Some New Approaches in Functional Programming Using Algebras and Coalgebras

机译:使用代数和合并代数进行函数式编程的一些新方法

获取原文
获取外文期刊封面目录资料

摘要

In our paper we deal with the expressing of recursion and corecursion in functional programming. We discuss about the morphisms which express the recursion or corecursion, respectively. Here we consider especially the catamorphisms, anamorphisms and their composition called the hylomorphisms. The main essence of this work is to describe a new method of programming the function for calculating the factorial by using hylomorphism. We show that using of hylomorphism is an alternative method for the computation of factorial to recursive methods programmed classically. Our new method we describe in action semantics which is a new formal method for the program description.
机译:在本文中,我们讨论了函数式编程中递归和核心递归的表达。我们讨论分别表示递归或核心递归的态射。在这里,我们特别考虑了同构,变态及其组成,称为同态。这项工作的主要实质是描述一种通过使用同胚来对用于计算阶乘的函数进行编程的新方法。我们表明,使用同胚是计算经典编程的递归方法的一种替代方法。我们在动作语义中描述的新方法是一种用于程序描述的新形式方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号