down

An OCaml toplevel (REPL) upgrade
README

v0.0.4

Down is an unintrusive user experience upgrade for the ocaml
toplevel (REPL).

Simply load the zero dependency Down library in the ocaml toplevel
and you get line edition, history, session support and identifier
completion and documentation (courtesy of ocp-index).

Add this to your ~/.ocamlinit:

#use "down.top"

Down is distributed under the ISC license.

Homepage: http://erratique.ch/software/down

Installation

down can be installed with opam:

opam install down

If you don't use opam consult the opam file for build
instructions.

Quick start

Simply run ocaml and load the library:

> ocaml
...
# #use "down.top";;
Down loaded. Type Down.help () for more info.
# List.con^t
  List.cons : 'a -> 'a list -> 'a list
  List.concat : 'a list list -> 'a list
# List.con

You can add this #use "down.top" invocation to your ~/.ocamlinit file.

For ocamlnat you will likely have to invoke it with -noinit and you
must issue #use "down.nattop".

Documentation

The manual can be consulted online or via odig doc down.

Install
Published
26 Jan 2022
Maintainers
Sources
down-0.0.4.tbz
sha512=09cf03e04942de8469f04d1d2c2a5b91b92a3539b5c109d866555ad0ca0e848884371b4516b06c8c19aa030c279b487ecb788c354d2eec32f88343876e525eeb
Dependencies
uucp
dev
topkg
build & >= "1.0.3"
ocaml
>= "4.04.0" & < "4.14.0"
Reverse Dependencies