首页> 外文会议>ACM SIGPLAN International Conference on Functional Programming >Purely Functional Lazy Non-deterministic Programming
【24h】

Purely Functional Lazy Non-deterministic Programming

机译:纯粹的功能懒惰非确定性编程

获取原文

摘要

Functional logic programming and probabilistic programming have demonstrated the broad benefits of combining laziness (non-strict evaluation with sharing of the results) with non-determinism. Yet these benefits are seldom enjoyed in functional programming, be-cause the existing features for non-strictness, sharing, and non-determinism in functional languages are tricky to combine. We present a practical way to write purely functional lazy non-deterministic programs that are efficient and perspicuous. We achieve this goal by embedding the programs into existing lan-guages (such as Haskell, SML, and OCaml) with high-quality im-plementations, by making choices lazily and representing data with non-deterministic components, by working with custom monadic data types and search strategies, and by providing equational laws for the programmer to reason about their code.
机译:功能逻辑编程和概率编程已经证明了与非决定主义相结合的广泛利益(与共享结果的非严格评估)。然而,这些福利很少在功能规划中享受,导致现有的非严格性,共享和功能语言的非确定性的特征是棘手的。我们提出了一种写入纯粹的功能性懒惰非确定性程序,这些方法是有效和明显的。通过使用定制的Monadic数据,通过使用定制的MONIC数据来实现具有高质量接收器的局域网(例如Haskell,SML和OCAML),通过使用定制的MONIC数据来实现具有高质量的地点的现有语言(如HASKELL,SML和OCAML)来实现这一目标。类型和搜索策略,并通过为程序员提供对代码的原因的公式法律。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号