Towards Applicative Relational Programming

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

10 pages; no figures

Scientific paper

Functional programming comes in two flavours: one where ``functions are first-class citizens'' (we call this applicative) and one which is based on equations (we call this declarative). In relational programming clauses play the role of equations. Hence Prolog is declarative. The purpose of this paper is to provide in relational programming a mathematical basis for the relational analog of applicative functional programming. We use the cylindric semantics of first-order logic due to Tarski and provide a new notation for the required cylinders that we call tables. We define the Table/Relation Algebra with operators sufficient to translate Horn clauses into algebraic form. We establish basic mathematical properties of these operators. We show how relations can be first-class citizens, and devise mechanisms for modularity, for local scoping of predicates, and for exporting/importing relations between programs.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Towards Applicative Relational Programming does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Towards Applicative Relational Programming, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Towards Applicative Relational Programming will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-388278

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.