【24h】

Blame for all

机译:都怪

获取原文

摘要

We present a language that integrates statically and dynamically typed components, similar to the gradual types of Siek and Taha (2006), and extend it to incorporate parametric polymorphism. Our system permits a dynamically typed value to be cast to a polymorphic type, with the type enforced by dynamic sealing along the lines proposed by Pierce and Sumii (2000), Matthews and Ahmed (2008), and Neis, Dreyer, and Rossberg (2009), in a way that ensures all terms satisfy relational parametricity. Our system includes a notion of blame, which allows us to show that when more-typed and less-typed portions of a program interact, that any type failures are due to the less-typed portion.
机译:我们提出了一种语言,该语言集成了静态和动态类型的组件,类似于Siek和Taha(2006)的渐进类型,并将其扩展为包含参数多态性。我们的系统允许将动态类型的值强制转换为多态类型,该类型由动态密封根据Pierce和Sumii(2000),Matthews和Ahmed(2008)以及Neis,Dreyer和Rossberg(2009)提出的方法实施),以确保所有术语均满足关系参数性。我们的系统包含责备的概念,这使我们能够证明,当程序的更多类型和更少类型的部分进行交互时,任何类型失败均归因于更少类型的部分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号