A syntactic approach to combining functional notation, lazy evaluation, and higher-order in LP systems

22Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Nondeterminism and partially instantiated data structures give logic programming expressive power beyond that of functional programming. However, functional programming often provides convenient syntactic features, such as having a designated implicit output argument, which allow function call nesting and sometimes results in more compact code. Functional programming also sometimes allows a more direct encoding of lazy evaluation, with its ability to deal with infinite data structures. We present a syntactic functional extension, used in the Ciao system, which can be implemented in ISO-standard Prolog systems and covers function application, predefined evaluable functors, functional definitions, quoting, and lazy evaluation. The extension is also composable with higher-order features and can be combined with other extensions to ISO-Prolog such as constraints. We also highlight the features of the Ciao system which help implementation and present some data on the overhead of using lazy evaluation with respect to eager evaluation. © Springer-Verlag Berlin Heidelberg 2006.

Cite

CITATION STYLE

APA

Casas, A., Cabeza, D., & Hermenegildo, M. V. (2006). A syntactic approach to combining functional notation, lazy evaluation, and higher-order in LP systems. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 3945 LNCS, pp. 146–162). https://doi.org/10.1007/11737414_11

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free