package react
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=887aaea9191870bc0f37f945c02ec4c90497d949cd4dedc3d565c3fbec7ad04e
md5=f071a1308b6cad131c55cda8677823c3
Description
React is an OCaml module for functional reactive programming (FRP). It provides support to program with time varying values : declarative events and signals. React doesn't define any primitive event or signal, it lets the client chooses the concrete timeline.
React is made of a single, independent, module and distributed under the BSD3 license.
README
React — Declarative events and signals for OCaml
Release 1.2.0
React is an OCaml module for functional reactive programming (FRP). It provides support to program with time varying values : declarative events and signals. React doesn't define any primitive event or signal, it lets the client chooses the concrete timeline.
React is made of a single, independent, module and distributed under the BSD3 license.
Home page: http://erratique.ch/software/react
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>
Installation
React can be installed with opam
:
opam install react
If you don't use opam
consult the opam
file for build instructions.
Documentation
The documentation and API reference is automatically generated by ocamldoc
from the interfaces. It can be consulted online and there is a generated version in the doc
directory of the distribution.
Sample programs
If you installed React with opam
sample programs are located in the directory opam config var react:doc
.
In the distribution sample programs are located in the test
directory of the distribution. They can be built with:
ocamlbuild -use-ocamlfind test/tests.otarget
The resulting binaries are in _build/test
.
test.native
tests the library, nothing should fail.clock.native
is a command line program using ANSI escape sequences and the Unix module to print the current local time.breakout.native
is a command line program using ANSI escape sequences and the Unix module to implement a simple breakout game.
Dependencies (3)
-
ocamlbuild
build
- ocamlfind
-
ocaml
>= "4.00.0" & < "4.06.0"
Dev Dependencies
None
Used by (19)
-
0install
< "2.12.1"
- balancer
- cumulus
- dap
- gtk-light
- gufo
-
inquire
= "0.2.1"
- joolog
-
lambda-term
>= "1.6" & != "1.11"
- lwt_react
- mew_vi
-
obus
>= "1.1.6" & < "1.2.0"
- ocaml-canvas
-
ocsigenserver
>= "2.4.0"
- ojquery
-
reactiveData
< "0.2.2"
- rtime
-
utop
>= "1.12"
- zed
Conflicts
None