package down

  1. Overview
  2. Docs
An OCaml toplevel (REPL) upgrade

Install

Dune Dependency

Authors

Maintainers

Sources

down-0.3.0.tbz
sha512=03d4a5e82da97ac7814f93385d1a216976976ed7b00693c1e4fa24f6ea2e15121b39344bc599b82e1d2fea12d87663810c2aaca920af1d8b4db5682c6ec61dc6

doc/index.html

Down v0.3.0

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

Consult the manual.

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 invocation to your ~/.ocamlinit file.

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

More in the manual.

API

  • Down An OCaml toplevel (REPL) upgrade
OCaml

Innovation. Community. Security.

On This Page
  1. Quick start
  2. API