Default rules for Curry*. Issue 2 (1st July 2016)
- Record Type:
- Journal Article
- Title:
- Default rules for Curry*. Issue 2 (1st July 2016)
- Main Title:
- Default rules for Curry*
- Authors:
- ANTOY, SERGIO
HANUS, MICHAEL - Abstract:
- Abstract: In functional logic programs, rules are applicable independently of textual order, i.e., any rule can potentially be used to evaluate an expression. This is similar to logic languages and contrary to functional languages, e.g., Haskell enforces a strict sequential interpretation of rules. However, in some situations it is convenient to express alternatives by means of compact default rules. Although default rules are often used in functional programs, the non-deterministic nature of functional logic programs does not allow to directly transfer this concept from functional to functional logic languages in a meaningful way. In this paper, we propose a new concept of default rules for Curry that supports a programming style similar to functional programming while preserving the core properties of functional logic programming, i.e., completeness, non-determinism, and logic-oriented use of functions. We discuss the basic concept and propose an implementation which exploits advanced features of functional logic languages.
- Is Part Of:
- Theory and practice of logic programming. Volume 17:Issue 2(2017)
- Journal:
- Theory and practice of logic programming
- Issue:
- Volume 17:Issue 2(2017)
- Issue Display:
- Volume 17, Issue 2 (2017)
- Year:
- 2017
- Volume:
- 17
- Issue:
- 2
- Issue Sort Value:
- 2017-0017-0002-0000
- Page Start:
- 121
- Page End:
- 147
- Publication Date:
- 2016-07-01
- Subjects:
- functional logic programming, -- semantics, -- program transformation
Logic programming -- Periodicals
Artificial intelligence -- Computer programs -- Periodicals
Constraint programming (Computer science) -- Periodicals
005.115 - Journal URLs:
- https://www.cambridge.org/core/journals/theory-and-practice-of-logic-programming ↗
- DOI:
- 10.1017/S1471068416000168 ↗
- Languages:
- English
- ISSNs:
- 1471-0684
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 801.xml