计算机科学 > 程序设计语言
[提交于 2022年5月13日]
标题:From Logic to Functional Logic Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Logic programming is a flexible programming paradigm due to the use of predicates without a fixed data flow. To extend logic languages with the compact notation of functional programming, there are various proposals to map evaluable functions into predicates in order to stay in the logic programming framework. Since amalgamated functional logic languages offer flexible as well as efficient evaluation strategies, we propose an opposite approach in this paper. By mapping logic programs into functional logic programs with a transformation based on inferring functional dependencies, we develop a fully automatic transformation which keeps the flexibility of logic programming but can improve computations by reducing infinite search spaces to finite ones.
提交历史
来自:Michael Hanus[v1] 2022年5月13日 星期五 18:20:50 UTC