Towards Applicative Relational Programming

dc.creatorIbrahim, H.
dc.creatorvan Emden, M. H.
dc.date2006-02-28
dc.date.accessioned2026-07-07T07:02:35Z
dc.date.available2026-07-07T07:02:35Z
dc.descriptionFunctional 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.
dc.description10 pages; no figures
dc.identifierhttps://arxiv.org/abs/cs/0602099
dc.identifierhttp://arxiv.org/abs/cs/0602099
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/108652
dc.subjectProgramming Languages
dc.subjectD.1.6; F.3.2
dc.titleTowards Applicative Relational Programming
dc.typetext

Files

Collections