Skip to main content
Erschienen in:
Buchtitelbild

1992 | ReviewPaper | Buchkapitel

Improving control of logic programs by using functional logic languages

verfasst von : Michael Hanus

Erschienen in: Programming Language Implementation and Logic Programming

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

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 programs produce 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.

Metadaten
Titel
Improving control of logic programs by using functional logic languages
verfasst von
Michael Hanus
Copyright-Jahr
1992
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/3-540-55844-6_124

Premium Partner