计算机科学 > 程序设计语言
[提交于 2026年5月14日]
标题:Polymorphic Bottom-Up Weighted Relational Programming
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This work presents a new approach for implementing polymorphism for bottom-up relational languages, without monomorphization. We begin by introducing semiringKanren, a bottom-up weighted relational programming language. We extend this base language to support polymorphism. We describe a new method to compile polymorphic semiringKanren programs into non-polymorphic ones, based on equality patterns and large-enough instances of polymorphic relations. We prove the correctness of this method. Finally, we consider existing work and suggest directions for future research.
提交历史
来自:Dmitri Volkov[v1] 2026年5月14日 星期四 20:43:52 UTC