计算机科学 > 程序设计语言
[提交于 2020年11月17日]
标题:Learning functional programs with function invention and reuse
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Inductive programming (IP) is a field whose main goal is synthesising programs that respect a set of examples, given some form of background knowledge. This paper is concerned with a subfield of IP, inductive functional programming (IFP). We explore the idea of generating modular functional programs, and how those allow for function reuse, with the aim to reduce the size of the programs. We introduce two algorithms that attempt to solve the problem and explore type based pruning techniques in the context of modular programs. By experimenting with the implementation of one of those algorithms, we show reuse is important (if not crucial) for a variety of problems and distinguished two broad classes of programs that will generally benefit from function reuse.
提交历史
来自:Andrei Diaconu[v1] 2020年11月17日 星期二 19:11:00 UTC