This library allows to use GNU Readline in an OCaml project.
The documentation is browsable online.
A simple example of the usage of this library is included with the source code. It is a program which reads the input of the user using [readline], and writes the same text on its output. It also save the input history in the file ~/.readline-example_history, and loads it when starting.