keigoi / linocaml

Monad-based linear types in OCaml, with a few syntax extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LinOCaml: Lightweight, monad-based linear types in OCaml, with a few syntax extensions

Paper

Build

opam install dune
dune build

Examples

See examples/ folder. To run examples, try:

./_build/default/examples/ex_array.exe
./_build/default/examples/ex_linlist.exe
./_build/default/examples/ex_session.exe

Prerequisites

OCaml 4.06.1 or higher. Checked with OCaml 4.07.0

About

Monad-based linear types in OCaml, with a few syntax extensions

License:Apache License 2.0


Languages

Language:OCaml 99.8%Language:Emacs Lisp 0.2%