package reactiveData

  1. Overview
  2. Docs
Declarative events and signals for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

reactiveData-0.2.4.tbz
sha256=b98746d36df24d82d31a94cce3ff590e332b6ad62ebe86f6e53a0cf965849fba
sha512=4b996caf01819d34acd0564f9410ae1a6def818f7b5ab2777e0daf16799bbd0c9582a7ca5218f5cbd71db7645aca4cf95e4d5c9010a3b4514c8bd4ac10f38b56

doc/reactiveData/ReactiveData/index.html

Module ReactiveDataSource

ReactiveData is a module for data-aware functional reactive programming (FRP). It adds support to incremental changes in data structures by reasoning on patches instead of absolute values. ReactiveData is based on and inter-operates with React.

You are most likely interested in the sub-module RList, which implements a superset of the signature S.

Sourcemodule type S = sig ... end

Signature describing a reactive data structure ('a t).

Sourcemodule RList : sig ... end

Reactive list data structure

Sourcemodule RMap (M : Map.S) : sig ... end

Reactive map data structure

Sourcemodule type DATA = sig ... end

Signature describing a raw data container ('a data).

Sourcemodule Make (D : DATA) : S with type 'a data = 'a D.data and type 'a patch = 'a D.patch

Functor for turning a plain container into an incremental one

OCaml

Innovation. Community. Security.