首页> 外文期刊>Mathematics in Computer Science >Efficient Intensional Implementation for Lazy Functional Languages
【24h】

Efficient Intensional Implementation for Lazy Functional Languages

机译:惰性函数语言的有效内涵实现

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

摘要

The intensional transformation is a technique that can be used in order to eliminate higher-order functions from a functional program by introducing appropriate context-manipulation operators. The transformation can be applied to a significant class of higher-order programs and results in equivalent zero-order intensional programs that can be executed in a simple demand-driven way. Despite its simplicity, the transformation has never been seriously evaluated with respect to its efficiency and potential. Certain simple implementations of the technique have been performed, but questions regarding the merits of the method have remained inconclusive. In this paper we demonstrate that the transformation can be efficiently implemented by using what we call lazy activation records, namely activation records in which some entries are filled on-demand. An evaluation of our implementation demonstrates that the technique outperforms some of the most well-known functional programming systems, for the class of programs that can be transformed.
机译:内涵转换是一种可以通过引入适当的上下文操作运算符从功能程序中消除高阶函数的技术。该转换可以应用于大量的高阶程序,并导致可以以简单的需求驱动方式执行的等效零阶内涵程序。尽管它很简单,但从未对其效率和潜力进行过认真的评估。已经执行了该技术的某些简单实现,但是关于该方法的优点的问题仍然没有定论。在本文中,我们证明了可以通过使用所谓的惰性激活记录(即其中一些条目按需填充的激活记录)有效地实现转换。对我们的实现的评估表明,对于可以转换的程序类别,该技术优于某些最著名的功能编程系统。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号