Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

keigoi/linocaml

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

keigoi/linocaml.json
{
"createdAt": "2017-07-15T20:28:09Z",
"defaultBranch": "master",
"description": "Monad-based linear types in OCaml, with a few syntax extensions",
"fullName": "keigoi/linocaml",
"homepage": "",
"language": "OCaml",
"name": "linocaml",
"pushedAt": "2019-10-21T21:04:28Z",
"stargazersCount": 38,
"topics": [],
"updatedAt": "2025-11-12T15:12:11Z",
"url": "https://github.com/keigoi/linocaml"
}

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

Section titled “LinOCaml: Lightweight, monad-based linear types in OCaml, with a few syntax extensions”
opam install dune
dune build

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

OCaml 4.06.1 or higher. Checked with OCaml 4.07.0