Typed embedding of a relational language in OCaml

3Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.

Abstract

We present an implementation of the relational programming language miniKanren as a set of combinators and syntax extensions for OCaml. The key feature of our approach is polymorphic unification, which can be used to unify data structures of arbitrary types. In addition we provide a useful generic programming pattern to systematically develop relational specifications in a typed manner, and address the problem of integration of relational subsystems into functional applications.

Cite

CITATION STYLE

APA

Kosarev, D., & Boulytchev, D. (2018). Typed embedding of a relational language in OCaml. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 285, pp. 1–22). Open Publishing Association. https://doi.org/10.4204/EPTCS.285.1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free