English

Synthesizing Set Functions

Programming Languages 2018-08-23 v1

Abstract

Set functions are a feature of functional logic programming to encapsulate all results of a non-deterministic computation in a single data structure. Given a function ff of a functional logic program written in Curry, we describe a technique to synthesize the definition of the set function of ff. The definition produced by our technique is based on standard Curry constructs. Our approach is interesting for three reasons. It allows reasoning about set functions, it offers an implementation of set functions which can be added to any Curry system, and it has the potential of changing our thinking about the implementation of non-determinism, a notoriously difficult problem.

Keywords

Cite

@article{arxiv.1808.07401,
  title  = {Synthesizing Set Functions},
  author = {Sergio Antoy and Michael Hanus and Finn Teegen},
  journal= {arXiv preprint arXiv:1808.07401},
  year   = {2018}
}

Comments

17 pages, Accepted for presentation in WFLP 2018