【24h】

Guided Type Debugging

机译:引导式调试

获取原文

摘要

We present guided type debugging as a new approach to quickly and reliably remove type errors from functional programs. The method works by generating type-change suggestions that satisfy type specifications that are elicited from programmers during the debugging process. A key innovation is the incorporation of target types into the type error debugging process. Whereas previous approaches have aimed exclusively at the removal of type errors and disregarded the resulting types, guided type debugging exploits user feedback about result types to achieve better type-change suggestions. Our method can also identify and remove errors in type annotations, which has been a problem for previous approaches. To efficiently implement our approach, we systematically generate all potential type changes and arrange them in a lattice structure that can be efficiently traversed when guided by target types that are provided by programmers.
机译:我们将导向类型调试作为一种快速可靠地从功能程序中删除类型错误的新方法。该方法通过生成满足在调试过程中从程序员引发的类型的类型更改建议的类型更改建议。关键创新是将目标类型纳入类型错误调试过程中。然而,以前的方法专门针对删除类型错误并忽略了所得类型,引导型调试利用用户反馈关于结果类型以实现更好的类型更改建议。我们的方法还可以识别和清除型注释中的错误,这是先前方法的问题。为了有效地实现我们的方法,我们系统地生成所有潜在类型的变化,并将它们排列在晶格结构中,当由程序员提供的目标类型引导时,可以有效地遍历。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号