Work

Functional notation and lazy evaluation in Ciao

Year: 2005
Type: conference-paper
Abstract: Certain aspects of functional programming provide syntactic convenience, such as having a designated implicit output argument, which allows function cali 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 extensión of Prolog covering function application, predefined evaluable functors, functional definitions, quoting, and lazy evaluation. The extensión is also composable with higher-order features. We also highlight the Ciao features which help implementation and present some data on the overhead of using lazy evaluation with respect to eager evaluation.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W27609869
FWCI: 0.204
Cites: 14
Cited by: 2
Related to: 9