Functional Reactive Programming
The FRP approach is to transform state mutation over time into ‘signals’, and to describe what happens with those signals. This approach can be used in GUI programming, web interfaces, and many other domains. There is only one known OCaml library that performs FRP:
- React : an OCaml library for functional reactive programming (FRP). It provides support to program with time varying values. Used by, among others, the Eliom web framework.