Eff Directly in OCaml

Oleg Kiselyov, KC Sivaramakrishnan
12/31/2018
cs.PLcs.LO

Official code: palladin/Eff (103 stars, F#, last commit 2017-12-18).

Abstract

The language Eff is an OCaml-like language serving as a prototype implementation of the theory of algebraic effects, intended for experimentation with algebraic effects on a large scale. We present the embedding of Eff into OCaml, using the library of delimited continuations or the multicore OCaml branch.

Show full abstract

We demonstrate the correctness of the embedding denotationally, relying on the tagless-final-style interpreter-based denotational semantics, including the novel, direct denotational semantics of multi-prompt delimited control. The embedding is systematic, lightweight, performant and supports even higher-order, 'dynamic' effects with their polymorphism. OCaml thus may be regarded as another implementation of Eff, broadening the scope and appeal of that language.

View on arXivView PDF

Code Implementations(1)

palladin/EffOfficial100%

A library for programming with Algebraic Effects in F#

1034F#Aug 13, 20158 years ago

Similar Papers

Cite this paper

@article{kiselyov2018directly,
  title  = {Eff Directly in OCaml},
  author = {Oleg Kiselyov and KC Sivaramakrishnan},
  year   = {2018},
  eprint = {1812.11664},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.11664}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1812.11664.svg)](https://codeofpaper.com/paper/1812.11664)

Discussion