Functional and Logic Programming
DOI: 10.1007/978-3-540-78969-7_12
|View full text |Cite
|
Sign up to set email alerts
|

Rewriting and Call-Time Choice: The HO Case

Abstract: Abstract. It is known that the behavior of non-deterministic functions with call-time choice semantics, present in current functional logic languages, is not well described by ordinary approaches to reduction like ordinary term rewriting systems or λ-calculus. The presence of HO features makes things more difficult, since reasoning principles that are essential in a standard (i.e., deterministic) functional setting, like extensionality, become wrong. In this paper we propose HOlet-rewriting, a notion of rewrit… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
32
0

Publication Types

Select...
3
2

Relationship

2
3

Authors

Journals

citations
Cited by 15 publications
(32 citation statements)
references
References 22 publications
0
32
0
Order By: Relevance
“…This somehow non-typical behavior does not emerge by the allowance of HO patterns itself; as it is known [9], it stems from the mere combination of HO-functions, lazy evaluation and call-time choice semantics for non-determinism, a cocktail which is present in current FLP systems, whether or not they support HOpatterns. However, HO patterns can be a source of problems from the point of view of the types.…”
Section: Higher Order Patternsmentioning
confidence: 98%
See 1 more Smart Citation
“…This somehow non-typical behavior does not emerge by the allowance of HO patterns itself; as it is known [9], it stems from the mere combination of HO-functions, lazy evaluation and call-time choice semantics for non-determinism, a cocktail which is present in current FLP systems, whether or not they support HOpatterns. However, HO patterns can be a source of problems from the point of view of the types.…”
Section: Higher Order Patternsmentioning
confidence: 98%
“…In Section 3 we expose the type system and prove its soundness wrt. let-rewriting, an operational reduction semantics for FL programs presented in [9]. Section 4 contains a type inference relation, which lets us find the most general type of expressions.…”
Section: Introductionmentioning
confidence: 99%
“…The operational semantics of our programs is based on let-rewriting (López-Fraguas et al, 2008), a high level notion of reduction step devised to express call-time choice through the use of let-bindings that represent subexpression sharing. For this paper, we have extended let-rewriting with two rules for managing failure of pattern matching ( Figure 2), playing a role similar to the rules for pattern matching failure in GADTs (Cheney and Hinze, 2003;Peyton Jones et al, 2006).…”
Section: Operational Semanticsmentioning
confidence: 99%
“…(Antoy and Tolmach, 1999;López-Fraguas et al, 2008). In short, this translation introduces a new function symbol @ (to be read as 'apply'), and then adds calls to @ in some points in the program and appropriate rules for evaluating it.…”
Section: Existential Types Opacity and Ho-patternsmentioning
confidence: 99%
See 1 more Smart Citation