Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 39184cbfd0e495e791d7daf13808f02d > files > 16

ocaml-react-1.2.1-3.mga7.armv7hl.rpm

React — Declarative events and signals for OCaml
-------------------------------------------------------------------------------
Release v1.2.1

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 ISC 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`](opam) file for build
instructions.


## Documentation

The documentation and API reference is automatically generated by
`ocamldoc` from the interfaces. It can be consulted [online][3]
and there is a generated version in the `doc` directory of the
distribution.

[3]: http://erratique.ch/software/react/doc/React


## 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.