The unification of functional and logic languages-towards constraint functional programming
John Darlington, Yike Guo
Abstract
John Darlington, Yike Guo
Abstract
Constraint functional programming (CEP) is presented as a new declarative programming paradigm. A CFP system is an integrated declarative programming system in which functional programming can be achieved by evaluating, expressions on the computational domains. At the same time, logic programming can also be achieved by solving constraints over these domains. CFP is developed from the notion of absolute set abstraction, a language construct in functional languages acting as the 'logic programming facility'. CFP systematically unifies functional programming and logic programming from a fundamental semantic level and is expected to provide great expressive power. Problem solving in CFP is directly performed on the intended domain of discourse. This property also allows some algorithmic constraint solving techniques to be exploited and restricts the search space in the computation to make the system efficient. CHOPE (Constraint HOPE) is defined to illustrate language aspects of CFP and examples are presented.>
OpenAlex reports 5 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Constraint functional programming (CEP) is presented as a new declarative programming paradigm. A CFP system is an integrated declarative programming system in which functional programming can be achieved by evaluating, expressions on the computational domains. At the same time, logic programming can also be achieved by solving constraints over these domains. CFP is developed from the notion of absolute set abstraction, a language construct in functional languages acting as the 'logic programming facility'. CFP systematically unifies functional programming and logic programming from a fundamental semantic level and is expected to provide great expressive power. Problem solving in CFP is directly performed on the intended domain of discourse. This property also allows some algorithmic constraint solving techniques to be exploited and restricts the search space in the computation to make the system efficient. CHOPE (Constraint HOPE) is defined to illustrate language aspects of CFP and examples are presented.>
Key concepts: Functional logic programming, Declarative programming, Logic programming, Constraint programming, Fifth-generation programming language, Computer science, Programming language, Inductive programming