跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 人机交互

arXiv:2405.12697 (cs)
[提交于 2024年5月21日]

标题:Goanna: Resolving Haskell Type Errors With Minimal Correction Subsets

作者:Shuai Fu, Tim Dwyer, Peter J. Stuckey, John Grundy
查看论文《Goanna: Resolving Haskell Type Errors With Minimal Correction Subsets》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Statically typed languages offer significant advantages, such as bug prevention, enhanced code quality, and reduced maintenance costs. However, these benefits often come at the expense of a steep learning curve and a slower development pace. Haskell, known for its expressive and strict type system, poses challenges for inexperienced programmers in learning and using its type system, especially in debugging type errors. We introduce Goanna, a novel tool that serves as a type checker and an interactive type error debugging tool for Haskell. When encountering type errors, Goanna identifies a comprehensive list of potential causes and resolutions based on the minimum correction subsets (MCS) enumeration. We evaluated Goanna's effectiveness using 86 diverse Haskell programs from online discourse, demonstrating its ability to accurately identify and resolve type errors. Additionally, we present a collection of techniques and heuristics to enhance Goanna's suggestion-based error diagnosis and show their effectiveness from our evaluation.
主题: 人机交互 (cs.HC); 程序设计语言 (cs.PL)
引用方式: arXiv:2405.12697 [cs.HC]
  (或者 arXiv:2405.12697v1 [cs.HC] 对于此版本)
  https://doi.org/10.48550/arXiv.2405.12697

提交历史

来自:Shuai Fu
[v1] 2024年5月21日 星期二 11:40:39 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.HC
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-05
切换浏览方式为:
cs
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站