计算机科学 > 程序设计语言
[提交于 2023年4月13日]
标题:Kind Inference for the FreeST Programming Language
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:We present a kind inference algorithm for the FREEST programming language. The input to the algorithm is FREEST source code with (possibly part of) kind annotations replaced by kind variables. The algorithm infers concrete kinds for all kind variables. We ran the algorithm on the FREEST test suite by first replacing kind annotation on all type variables by fresh kind variables, and concluded that the algorithm correctly infers all kinds. Non surprisingly, we found out that programmers do not choose the most general kind in 20% of the cases.
提交历史
来自:EPTCS[v1] 2023年4月13日 星期四 11:02:18 UTC