【24h】

Universal Properties of Impure Programming Languages

机译:不纯编程语言的通用属性

获取原文

摘要

We investigate impure, call-by-value programming languages. Our first language only has variables and let-binding. Its equational theory is a variant of Lambek's theory of multicategories that omits the commutativity axiom. We demonstrate that type constructions for impure languages - products, sums and functions - can be characterized by universal properties in the setting of 'premulticategories', multicategories where the commutativity law may fail. This leads us to new, universal characterizations of two earlier equational theories of impure programming languages: the premonoidal categories of Power and Robinson, and the monad-based models of Moggi. Our analysis thus puts these earlier abstract ideas on a canonical foundation, bringing them to a new, syntactic level.
机译:我们研究不纯洁的按值调用编程语言。我们的第一语言只有变量和let-binding。它的方程式理论是Lambek的多类别理论的一种变体,它忽略了可交换性公理。我们证明了不纯语言的类型构造-乘积,和和函数-可以在“预乘多类”的设置中具有通用属性,换乘律可能会失效。这导致我们对不纯编程语言的两个较早的方程式理论进行了新的通用表征:Power和Robinson的先例类别以及Moggi的基于monad的模型。因此,我们的分析将这些较早的抽象概念置于规范的基础上,使它们达到了新的句法水平。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号