Fix: memoization and fixed points made easy

fix is an OCaml library that helps with various constructions that involve memoization and recursion.

Installation

Type opam install fix.

Overview

At the top of an OCaml module, declare open Fix. This gives you access to the following submodules:

The signatures that appear in the above files, such as MEMOIZER, TABULATOR, SOLVER, and so on, are defined here.

The documentation is built by make doc and is then found in the file _build/default/_doc/_html/index.html.

The documentation of the latest released version is also available online.

Demos

A few demos are provided: