LOPSTR 2005
Declarative Programming with Function Patterns
Abstract
Abstract We propose an extension of functional logic languages that allows the definition of operations with patterns containing other defined operation symbols. Such “function patterns” have many advantages over traditional constructor patterns. They allow a direct representation of specifications as declarative programs, provide better abstractions of patterns as first-class objects, and support the high-level programming of queries and transformation of complex structures. Moreover, they avoid known problems that occur in traditional programs using strict equality. We define their semantics via a transformation into standard functional logic programs. Since this transformation might introduce an infinite number of rules, we suggest an implementation that can be easily integrated with existing functional logic programming systems.
Authors
Keywords
No keywords are indexed for this paper.
Context
- Venue
- International Symposium on Logic-Based Program Synthesis and Transformation
- Archive span
- 1990-2025
- Indexed papers
- 560
- Paper id
- 53934806869421386