A library for incremental computations
Browse cluster: OCaml incremental computation and PPX tooling →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.