Help Guide Disclaimer Contact us Login
  Advanced SearchBrowse




Conference Paper

Improving Control of Logic Programs by Using Functional Logic Languages


Hanus,  Michael
Programming Logics, MPI for Informatics, Max Planck Society;

There are no locators available
Fulltext (public)
There are no public fulltexts available
Supplementary Material (public)
There is no public supplementary material available

Hanus, M. (1992). Improving Control of Logic Programs by Using Functional Logic Languages. In M. Bruynooghe, & M. Wirsing (Eds.), Proceedings 4th International Symposium on Programming Language Implementation and Logic Programming (pp. 1-23). Berlin, Germany: Springer.

Cite as:
This paper shows the advantages of amalgamating functional and logic programming languages. In comparison with pure functional languages, an amalgamated functional logic language has more expressive power. In comparison with pure logic languages, functional logic languages have a better control behaviour. The latter will be shown by presenting methods to translate logic programs into a functional logic language with a narrowing/rewriting semantics. The translated programsproduce the same set of answers and have at least the same efficiency as the original programs. But in many cases the control behaviour of the translated programs is improved. This requires the addition of further knowledge to the programs. We discuss methods for this and show the gain in efficiency by means of several examples.