← All repos

incremental

A library for incremental computations

Browse cluster: OCaml incremental computation and PPX tooling
174commits
14contributors
4languages

Tech stack & purpose

Incremental is an OCaml library for building computations that update efficiently when their inputs change, inspired by self-adjusting computation research. It is designed for applications like spreadsheet-like calculations, GUI views, and derived data that must stay synchronized with source data. The repository includes Incr_memoize, a companion library that optimizes the expensive `bind` operation in incremental code by memoizing computations across different parameter values, allowing developers to replace standard incremental binds with a memoized version by providing a comparator and caching policy.

Community & reference links

Languages

OCaml
99.8%
Shell
0.1%
Makefile
0.0%
Dune
0.0%

Contributors