计算机科学 > 程序设计语言
[提交于 2024年8月30日]
标题:A Relational Solver for Constraint-based Type Inference
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present a miniKanren-based type inferencer for an educational programming language with first-class functions, S-expressions, and pattern-matching. The language itself is untyped which adds a certain specificity to the problem and requires the employment of techniques conventionally used in implicit/gradual typing settings. The presence of polymorphic and recursive types poses a certain challenge when implementing the inferencer in miniKanren and requires a number of tricks, optimizations, and extensions to be used; we report on those as well.
提交历史
来自:Dmitry Boulytchev[v1] 2024年8月30日 星期五 09:27:41 UTC