计算机科学 > 程序设计语言
[提交于 2025年7月21日]
标题:Understanding Haskell-style Overloading via Open Data and Open Functions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present a new, uniform semantics for Haskell-style overloading. We realize our approach in a new core language, System F$_\mathrm{D}$, whose metatheory we mechanize in the Lean4 interactive theorem prover. System F$_\mathrm{D}$ is distinguished by its open data types and open functions, each given by a collection of instances rather than by a single definition. We show that System F$_\mathrm{D}$ can encode advanced features of Haskell's of type class systems, more expressively than current semantics of these features, and without assuming additional type equality axioms.
提交历史
来自:J. Garrett Morris[v1] 2025年7月21日 星期一 21:46:30 UTC