计算机科学 > 程序设计语言
[提交于 2026年7月15日]
标题:Decomposable Type Highlighting for Bidirectional Type and Cast System
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We explore how to provide programmers with an interactive interface for explaining the process by which static types and dynamic casts are derived, with the goal of improving the debugging of static and dynamic type errors. To this end, we define mathematical foundations for a decomposable highlighting system within a bidirectional system and show how these can be propagated through dynamic types in a cast system. Our prototype implementation in the gradually typed Hazel language includes a web-based user interface, through which we highlight the importance of type-level debugging.
提交历史
来自:Max Carroll[v1] 2026年7月15日 星期三 11:41:07 UTC