【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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号